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


Click here to return to the 'A shell/AppleScript interaction trick' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A shell/AppleScript interaction trick
Authored by: vonleigh on Jun 20, '04 01:35:00AM

If it's going to be passed to /bin/sh anyway. Why not do it explicitly and avoid any potential trouble?

#!/bin/sh
exec osascript <<\EOF
tell app "Safari"
activate
end tell



[ Reply to This | # ]