• 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: Jean-Christophe Helary <email@hidden>
  • Date: Sun, 17 May 2015 08:06:25 +0900

Thank you Shane and apologies for have forgotten about the solutions that were offered to me in both of your mails.

I tried Yvan's suggestion (because it seemed more "applescript-ish" to me) and got the expected result.

Wow, that's a huge first step. Thank you all for your help in the past weeks.

Jean-Christophe Helary

> On May 16, 2015, at 21:12, Shane Stanley <email@hidden> wrote:
>
> On 16 May 2015, at 10:05 pm, Jean-Christophe Helary <email@hidden> wrote:
>>
>> Then I launched the script again and I was asked once more whether I wanted to grant the script access to that calendar...
>
> See my earlier post:
>
>> 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.
>
> Or Yvan's suggestion:
>
>> To get rid of changes due to execution I use a simple tip.
>> I code using this structure :
>>
>> on rum
>> my Germaine()
>> end run
>>
>> on Germaine()
>> # here is the true code
>> end Germaine
>>
>> When I run such scripts, the script is not flagged as modified after execution.
>
> As for the cryptic names, are you using Script -> Run Application? Because if you are, don't. Just use Run.
>
> --
> 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


 _______________________________________________
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


References: 
 >Script wants to access your calendar ! (From: Jean-Christophe Helary <email@hidden>)
 >Re: Script wants to access your calendar ! (From: Shane Stanley <email@hidden>)
 >Re: Script wants to access your calendar ! (From: Jean-Christophe Helary <email@hidden>)
 >Re: Script wants to access your calendar ! (From: Yvan KOENIG <email@hidden>)
 >Re: Script wants to access your calendar ! (From: Shane Stanley <email@hidden>)
 >Re: Script wants to access your calendar ! (From: Jean-Christophe Helary <email@hidden>)
 >Re: Script wants to access your calendar ! (From: Shane Stanley <email@hidden>)

  • Prev by Date: Determining the default CalendarName in Calendar
  • Next by Date: Re: Determining the default CalendarName in Calendar
  • Previous by thread: Re: Script wants to access your calendar !
  • Next by thread: Re: Script wants to access your calendar !
  • Index(es):
    • Date
    • Thread