These 2 applescript don't work from the terminal using osascript.
osascript -e 'tell application "Internet Explorer" to OpenURL "http://www.deadly.org"'
or
osascript -e 'tell application "Internet Explorer"' -e 'OpenURL "deadly.org"' -e 'end tell'
I get the same error for both of these scripts:
execution error: Internet Explorer got an error: Application isn't running. (-600)
Both of these scripts work fine from "script runner" or "project builder"
Could someone point me in the correct direction to run this script form the terminal.
osascript -e 'tell application "Internet Explorer" to OpenURL "http://www.deadly.org"'
or
osascript -e 'tell application "Internet Explorer"' -e 'OpenURL "deadly.org"' -e 'end tell'
I get the same error for both of these scripts:
execution error: Internet Explorer got an error: Application isn't running. (-600)
Both of these scripts work fine from "script runner" or "project builder"
Could someone point me in the correct direction to run this script form the terminal.