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


Click here to return to the 'Using redirects to run AppleScripts in the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Using redirects to run AppleScripts in the Terminal
Authored by: tarball on May 06, '04 12:47:06PM

i may be overlooking something obvious about your hint, but when i run applescripts remotely, i typically will just run the script from a file.

if you have shell access (which you obviously do), and you know the code works, you can just open up a command line text editor and paste your code in (pico works well for copying and pasting), save it, and run it like you would on your local machine.

osascript filename

osascript doesn't care if it's in binary script format or plaintext format, and you don't have to worry about the shell messing with characters or anything else that way.



[ Reply to This | # ]