Tip: opening OSX Privacy and Security prefs using launch URL

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rodneyt
Posts: 128
Joined: Wed Oct 17, 2018 7:32 am

Tip: opening OSX Privacy and Security prefs using launch URL

Post by rodneyt » Thu Oct 27, 2022 2:42 am

Surfacing this tip at top level of forum for greater visibility...

From this post https://www.felix-schwarz.org/blog/2018 ... cos-mojave I found that opening this URL will take user directly to the automation pane in security and privacy.

It works in Livecode:

Code: Select all

launch url "x-apple.systempreferences:com.apple.preference.security?Privacy_Automation"
This is a useful tip for anyone building apps that need user to grant permissions, as it will take them directly to the right place to review.

Rod


Post Reply