• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
osascript(1)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: referencing a variable from another?
  • Next by Date: Re: Why are compiled scripts slower than from Script Editor?
  • Previous by thread: referencing a variable from another?
  • Next by thread: Re: Why are compiled scripts slower than from Script Editor?
  • Index(es):
    • Date
    • Thread