Re: Mac OS X 10.4: using osascript to interact with users
Re: Mac OS X 10.4: using osascript to interact with users
- Subject: Re: Mac OS X 10.4: using osascript to interact with users
- From: Chris Page <email@hidden>
- Date: Thu, 25 Jun 2009 18:41:11 -0700
On Jun 25, 2009, at 5:32 PM, Deivy Petrescu wrote: I missed this post.... Why will system events will return an error via eppc?
Used to be that System Events was the way to go for eppc or remote scripting.
This is not specific to System Events. It’s about the Standard Additions.
Some of the Standard Addition event handlers reject remote events, e.g., the ones that display UI, and “do shell script”.
What changed?
This is partly for security, partly to avoid annoying a user using the remote computer, and partly to avoid unintended situations like scripts hanging waiting for a user to respond on the remote machine when there’s nobody there to do so.
I did some spelunking and apparently they were like this at least as early as Mac OS 9. Then, in some early versions of Mac OS X, some of the UI additions unintentionally allowed remote events, and then they were fixed to have the old behavior again.
-- Chris Page
The other, other AppleScript Chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden