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


Click here to return to the 'Don't rely on this working' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Don't rely on this working
Authored by: boredzo on Oct 29, '07 12:25:13PM

.scpt is the file type for compiled scripts, and you're just putting source code there. There are three possible solutions:

  • Save the script source code as .applescript. (Untested; may not work.)
  • Pipe the source code through osacompile: echo 'tell application "Dictionary" to activate' | osacompile -o $HOME/Library/iTunes/Scripts/Dictionary.scpt (Should always work)
  • Use Script Editor. (What Doug suggested in a sibling comment; should always work)


[ Reply to This | # ]