Search found 128 matches

by rodneyt
Fri Mar 10, 2023 5:40 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: LC10 - any news?
Replies: 1
Views: 2069

Re: LC10 - any news?

It seems not.
by rodneyt
Mon Jan 30, 2023 11:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: LC10 - any news?
Replies: 1
Views: 2069

LC10 - any news?

As we head into February....

Seems like a while since the last update on LC10. Is there any news?

Rod
by rodneyt
Sun Oct 30, 2022 3:10 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: applescript returning execution error
Replies: 30
Views: 9262

Re: applescript returning execution error

For those of you following this thread, here is the final working version. This script retrieves the active selection in Calendar from preferences (so it works, interestingly, even if user has quit calendar). By using the syntas "some calendar" we can avoid declaring which calendar the event is in -...
by rodneyt
Fri Oct 28, 2022 9:53 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: applescript returning execution error
Replies: 30
Views: 9262

Re: applescript returning execution error

For anyone following along, this Applescript will return the properties of the selected event in Apple Calendar, regardless of which calendar the user has selected. It requires that you have installed CalendarLib EC, available here https://latenightsw.com/freeware/ This works in script editor, I am ...
by rodneyt
Fri Oct 28, 2022 3:33 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: applescript returning execution error
Replies: 30
Views: 9262

Applescript accessing Calendar app requires correct entitlement (solved)

Success!

I added Calendar to the entitlements and built to a standalone, On running it now correctly prompts for the Personal Calendar access

Code: Select all

  
 <dict>
 ...
  <key>com.apple.security.personal-information.calendars</key>
    <true/>
    ...
  </dict> 
  
by rodneyt
Fri Oct 28, 2022 3:17 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: applescript returning execution error
Replies: 30
Views: 9262

Re: applescript returning execution error

Going to have a try adding Calendar entitlement to Levure build and see if I can build app that will request calendar privilege

https://developer.apple.com/documentati ... _calendars
by rodneyt
Fri Oct 28, 2022 2:08 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: applescript returning execution error
Replies: 30
Views: 9262

Re: applescript returning execution error

Is it possible to list the security and privacy setting requirements for an application in plist, maybe I could build the app and get it working this way? Seems to me there should be a way for a Livecode app to explicitly declare the requirements it needs so that permissions can be requested from us...
by rodneyt
Thu Oct 27, 2022 9:48 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: applescript returning execution error
Replies: 30
Views: 9262

Re: applescript returning execution error

Hmmm , itś indeed not listed. At least I know what the problem probably is!

Rod
by rodneyt
Thu Oct 27, 2022 1:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: applescript returning execution error
Replies: 30
Views: 9262

Re: applescript returning execution error

How do I add an app to Calendar security preference? I have tried dragging and dropping to the field (after unlocking) didn't work....
How did you do it Bernd?

I might need to look into https://apple.stackexchange.com/questio ... -on-mojave
by rodneyt
Thu Oct 27, 2022 1:12 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: applescript returning execution error
Replies: 30
Views: 9262

Re: applescript returning execution error

Bernd, brilliant observations. I will do some more testing tomorrow and confirm.
by rodneyt
Thu Oct 27, 2022 8:41 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: applescript returning execution error
Replies: 30
Views: 9262

Re: applescript returning execution error

For anyone who would like to test this, I attach a stack.
Open OSX Calendar and select an event in your Work calendar then open stack and click the button.
Comment or uncomment the line "return localUIDs". For me it works for the localUIDs but fails when I try to interact with the Calendar app
by rodneyt
Thu Oct 27, 2022 2:42 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Tip: opening OSX Privacy and Security prefs using launch URL
Replies: 1
Views: 1080

Tip: opening OSX Privacy and Security prefs using launch URL

Surfacing this tip at top level of forum for greater visibility... From this post https://www.felix-schwarz.org/blog/2018/08/new-apple-event-apis-in-macos-mojave I found that opening this URL will take user directly to the automation pane in security and privacy. It works in Livecode: launch url "x-...
by rodneyt
Thu Oct 27, 2022 2:27 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: applescript returning execution error
Replies: 30
Views: 9262

Re: applescript returning execution error

From this post https://www.felix-schwarz.org/blog/2018/08/new-apple-event-apis-in-macos-mojave I found that opening this URL will take user directly to the automation pane in security and privacy. It works in Livecode: launch url "x-apple.systempreferences:com.apple.preference.security?Privacy_Autom...
by rodneyt
Thu Oct 27, 2022 2:21 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: applescript returning execution error
Replies: 30
Views: 9262

Re: applescript returning execution error

In Automation pane of Privacy and Security I see LiveCode 10.0.0 (dp4) listed with permissions for Daylite, Chrome,DropDMG,System Events and Calendar. I don't see Livecode 9.6.4 listed, which is what I am running. When I test in Livecode 10.0.0 (dp4) I get the same error. I wonder if I have to reaut...

Go to advanced search