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: arcimboldo on May 19, '09 08:07:05AM
It's called "shebang" http://en.wikipedia.org/wiki/Shebang_(Unix) Another useful thing to do (very common in UNIX world) is passing the script via standard input, as in:
  echo 'tell application "iTunes" to play' | osascript


[ Reply to This | # ]