• 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: Script wants to access your calendar !
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script wants to access your calendar !


  • Subject: Re: Script wants to access your calendar !
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 15 May 2015 21:21:27 +1000

On 15 May 2015, at 5:37 pm, Jean-Christophe Helary <email@hidden> wrote:
>
> When I was testing my script, I never got an alert about the fact that the script wanted to access my calendar, now, when I run it as an application, I get the alert that my script wants to access my calendar and I need to confirm every time.

That's right -- applications need your permission to access your contacts, and that include AppleScript applications.
>
> Is there a way to set the script so that it is allowed to access the calendar all the time?

You need to give your applet permission in Security & Privacy. You need to make sure it has a unique bundle identifier, which is set in the sidebar in Script Editor. And you need to ensure that the code doesn't change after you give the app permission -- this usually means changing the permissions of the enclosed main.scpt file, or codesigning the app, otherwise running the script usually results in new values being written to the file. You can use chmod a-w to lock main.scpt.

An error -1743 is a permissions error.


--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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: Script wants to access your calendar !
      • From: Jean-Christophe Helary <email@hidden>
References: 
 >Script wants to access your calendar ! (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: Script wants to access your calendar !
  • Next by Date: Re: Script wants to access your calendar !
  • Previous by thread: Script wants to access your calendar !
  • Next by thread: Re: Script wants to access your calendar !
  • Index(es):
    • Date
    • Thread