osascript(1)
osascript(1)
- Subject: osascript(1)
- From: Michael Kelly <email@hidden>
- Date: Fri, 31 Jan 2003 18:32:53 -0800
- Mail-followup-to: AppleScript-Users <email@hidden>
Hello all,
I was just playing around with osascript(1), and discovered it throws an
error whenever I use the "display dialog" function. For instance, if I
have the following in ./finder_dlog:
tell app "Finder"
activate
display dialog "Hello, osascript(1)!"
end
Then run
$ osascript finder_dlog
The Finder activates, then the script terminates and I get the error
execution error: Finder got an error: No user interaction
allowed. (-1713)
...what? Does this mean any kind of user interaction (choose file, etc)
is forbidden with osascript(1)? I checked the manpage, and this wasn't
listed under BUGS. Am I doing something wrong here?
I'm running 10.1.5 with just the devtools that came with the system.
Thanks!
--
Michael
email@hidden
http://www.jedimike.net/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.