Bash Script: Enable Access to Assistive Devices Programmatically in OS X Mavericks 10.9.x – Simulate Keystrokes

Use osascript to script a GUI login

Using a bash script to enable access to assistive devices is possible in Mavericks (and also Yosemite) despite the move to a per-app database.  This is useful for entering keystrokes or clicking GUI buttons via a bash script. Continue reading “Bash Script: Enable Access to Assistive Devices Programmatically in OS X Mavericks 10.9.x – Simulate Keystrokes”

Save Installer From Mac App Store (Updates and New Apps)

If you are an OS X administrator and deploy apps or updates, having a .pkg format is very useful.  Wouldn’t it be nice to save the installer from the App Store?

By default, any new apps or updates magically appear in the /Applications  folder.  In the background, however, there is actually a .pkg being run by Installer.  There is an manual way to capture and save the .pkgs from the App Store, but I wanted to write  script that would do this automatically. Continue reading “Save Installer From Mac App Store (Updates and New Apps)”