#!/usr/bin/osascript
tell application "System Events"
keystroke "p"
end tell
HTML5:63:122: execution error: An error of type -10810 has occurred. (-10810)
HTML5 is the name of the command. I don't know what 63 and 122
refers to, as there are only 18 lines in my command. Is it perhaps
a permissions problem?
All the best,
Rasmus