• 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
Re: Mac OS X 10.4: using osascript to interact with users
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Mac OS X 10.4: using osascript to interact with users
      • From: Jon Pugh <email@hidden>
References: 
 >Mac OS X 10.4: using osascript to interact with users (From: Aaron Wyatt <email@hidden>)
 >Re: Mac OS X 10.4: using osascript to interact with users (From: Philip Aker <email@hidden>)
 >Re: Mac OS X 10.4: using osascript to interact with users (From: Aaron Wyatt <email@hidden>)
 >Re: Mac OS X 10.4: using osascript to interact with users (From: Philip Aker <email@hidden>)
 >Re: Mac OS X 10.4: using osascript to interact with users (From: Chris Page <email@hidden>)
 >Re: Mac OS X 10.4: using osascript to interact with users (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Mac OS X 10.4: using osascript to interact with users
  • Next by Date: Re: Telling remote Finder to sleep
  • Previous by thread: Re: Mac OS X 10.4: using osascript to interact with users
  • Next by thread: Re: Mac OS X 10.4: using osascript to interact with users
  • Index(es):
    • Date
    • Thread