• 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: AppleScript-Users Digest, Vol 8, Issue 510
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-Users Digest, Vol 8, Issue 510


  • Subject: Re: AppleScript-Users Digest, Vol 8, Issue 510
  • From: Donald Hall <email@hidden>
  • Date: Mon, 07 Nov 2011 14:19:53 -0700

Axel,

The scheduling engine is at its heart a fancy script runner, so it is the user's scripts that will be sending Apple Events depending on their purpose. For example, the Track Timer script I include with Script Timer controls iTunes, so it sends Apple Events to iTunes. (The scheduling engine itself does address "System Events" with tell statements in a few places.)

I am aware of the temporary entitlements for sending Apple Events, but haven't determined yet if it is possible to set up entitlements for an AppleScript application, or if it is even possible to create one for an arbitrary application, as would be needed for a general purpose script runner.

I was hoping one of the smart people on this list had some knowledge or prior experience in this area. ;-)

Don

On 2011 Nov 7, at 10:08 AM, email@hidden wrote:

Le 7 nov. 2011 à 04:25, Donald Hall a écrit :

Axel,

Thanks for the reply.

Yes, I have the Mac App Store in mind. The background scheduling engine for my application "Script Timer" is written in AppleScript. I was thinking about modifying Script Timer for the app store, but there is no point in doing so if the scheduling engine won't work because of sandboxing. If the scheduling engine couldn't access other applications the usefulness of the program would be decimated.

Hello Don,

As far as I understand the current implementation of sandboxing wrt AppleEvents:

a sandboxed application may send AppleEvents to itself without restrictions
a sandboxed application may respond to any AppleEvent without restriction

The problem occurs when a sandboxed application wants to send AppleEvents to other applications, in which case entitlements are required. 

So, the first question is to know whether your background engine makes use of AppleEvents targeted to other applications, or if it relies on some other kind of IPC.

Axel

 _______________________________________________
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

  • Prev by Date: Re: Burning DVD's
  • Next by Date: Re: Burning DVD's
  • Previous by thread: Re: Burning DVD's
  • Next by thread: message reply content
  • Index(es):
    • Date
    • Thread