Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Create executable command-line AppleScripts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Create executable command-line AppleScripts
Authored by: jwz on Nov 13, '07 02:49:27PM

It's always been possible to do that like so:

#!/bin/sh

exec osascript << EOF

tell application "itunes"
...blah blah blah...
end tell

EOF



[ Reply to This | # ]
10.5: Create executable command-line AppleScripts
Authored by: adrianm on Nov 13, '07 10:52:16PM

yes, but i did say that this is nicer than using 'here' docs.

---
~/.sig: not found



[ Reply to This | # ]