Need an Applescript Expert

Mike Bonner bonnmike at gmail.com
Tue Oct 24 14:37:16 EDT 2017


try this..
set the shellcommand to "powershell"
set the hideconsolewindows to true
put shell("ls")

should return a listing of files for the current directory.

You could also make it interactive..
open process "powershell" for update
write "ls" & cr to process "powershell"
read from process "powershell" until empty
put it -- all text including prompts/etc returned by powershell
close process "powershell"

On Tue, Oct 24, 2017 at 11:26 AM, Bob Sneidar via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Ooookay I found a .NET port of iText called iTextSharp, and someone wrote
> a PowerShell module that can access it for the purposes of filling windows
> forms via the powershell.
>
> So now the question becomes, can Livecode access powershell? I suppose I
> can create a powershell script then launch it with shell or with Livecode's
> own file commands.
>
> Bob S
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list