get the list of open applications and windows ?
ludovic.thebault at laposte.net
Wed Jul 24 01:25:01 EDT 2002
in <D5DC80BE-9CF8-11D6-AC4D-0003937A97B8 at genesearch.com.au>:
>Here is an AppleScript to list all running applications:
>tell application "Finder"
> set procList to the processes
> set procNames to ""
> repeat with p in procList
> set procNames to procNames & the name of p & return
> end repeat
> return procNames
Thanks, but doesn't work with me (on macOS X). But works in the
I've put the script in a fld called "Scriptmac"
In msg box, the script :
do fld "scriptmac" as applescript
return "Compiler error"
More information about the Use-livecode