Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide generic support for changing settings Apple Events #6

Open
owenpshaw opened this issue May 6, 2020 · 1 comment
Open

Provide generic support for changing settings Apple Events #6

owenpshaw opened this issue May 6, 2020 · 1 comment
Assignees

Comments

@owenpshaw
Copy link
Contributor

owenpshaw commented May 6, 2020

It appears that on Mac we'll have to apply many/most settings by opening up the System Preferences panel and checking boxes using the Apple Events system. Provide a foundation for doing these kind of operations from Swift code.

@christopher-rtf christopher-rtf self-assigned this May 18, 2020
@owenpshaw owenpshaw added this to the mac1.0 milestone Jun 23, 2020
@christopher-rtf christopher-rtf removed this from the mac1.0 milestone Jun 25, 2020
@christopher-rtf
Copy link
Contributor

This task was broken into three subtasks:

  1. Provide a wrapper for reading/writing property list (plist) files
    ISSUE Provide generic support for capture/apply using Property Lists #13 - COMPLETE

  2. Research the various ways to send Apple Events and implement a wrapper if necessary
    For MVP10 (mac1.0 milestone), we will use the ObjC-based ScriptingBridge from Swift using custom AE wrappers as necessary. If we find more advanced requirements for Apple Events that ScriptingBridge cannot handle, we should revisit (or re-open) this issue and create a more powerful AE library in Swift. [But at this time, there are no known requirements for such an advanced bridge]
    COMPLETE FOR MVP10

  3. Create a UI automation wrapper for the macOS Accessibility UI framework (to check boxes, etc.) without needing to involve Apple Events at all
    ISSUE Create Swift wrapper for System Automation ("Accessibility") API #14 - COMPLETE

Unless and until we need to create a more advanced Apple Events bridge (to handle features or work around bugs in ScriptingBridge), I am moving this feature to the Backlog and untagging it from milestone "mac1.0".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants