Skip to content

This cli app tells an electron app to turn on accessibility, so it can be controlled by AppleScript.

License

Notifications You must be signed in to change notification settings

JonathanGawrych/set-electron-app-accessible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

set-electron-app-accessible

This cli app tells an electron app to turn on accessibility, so it can be controlled by AppleScript.

Build

Make sure you have the xcode cli tools installed and just simply run

make

Run

./set-electron-app-accessible PID

Where PID is the process id of the app you are trying to control.

You can do this in in AppleScript by process name by doing:

tell application "System Events"
    set pid to unix id of first process whose name is "The Electron App's Name"
    do shell script "./set-electron-app-accessible " & pid
end tell

Attribution

This code is based on code given at:

About

This cli app tells an electron app to turn on accessibility, so it can be controlled by AppleScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published