Permalink
Browse files

Recipe for enabling assistive devices (which is also required for GUI…

… scripting).
  • Loading branch information...
Winston Teo
Winston Teo committed Jul 11, 2012
1 parent 1f2e867 commit f9d559f02d5c824b33e68758807698d5a3c2116a
Showing with 4 additions and 0 deletions.
  1. +4 −0 recipes/enable_assistive_devices.rb
@@ -0,0 +1,4 @@
+execute "Enable Assistive Devices" do
+ command "echo 'a' | sudo tee /private/var/db/.AccessibilityAPIEnabled"
+ user WS_USER
+end

0 comments on commit f9d559f

Please sign in to comment.