A nice bit of syntax

Geoff Canyon gcanyon at gmail.com
Sun Feb 22 11:01:20 EST 2015


Just came across this in AppleScript:

tell application "System Events"
          set {procesList, pidList} to the {name, unix id} of (every
process whose name contains "Myapp_action_download")
end tell


There are multiple niceties here: in-line list filtration, multiple
simultaneous property retrievals and assignments, and of course directed
messaging. I look forward to when we can do similar things in LC.



More information about the use-livecode mailing list