Extended Memory.
Just something to replace the scraps of paper on my desk.
Home
Home
» Posts tagged: applescript
Calling Applescript from Perl
April 01, 2013
- Posted in
Uncategorized
by
randy
:::perl sub osascript($) { system 'osascript', map { ('-e', $_) } split(/\n/, $_[0]); } and to use it: :::applescript osascript <<END; tell application "Finder" display dialog "Hello" end