applescript osascript stupidscript freakinscript
osascript ./myscript.scpt
myscript.scpt: execution error: No user interaction allowed. (-1713)
try to redirect the output to /dev/null like this:
osascript ./myscript.scpt > /dev/null 2> /dev/null
Not sure what the drawbacks are yet but so far it works for me!
[Update] no drawbacks, just make sure you really don't expect any user interaction from that script.


0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home