Created
December 6, 2012 19:53
-
-
Save dcunited001/4227747 to your computer and use it in GitHub Desktop.
Applescript to Reload KeyRemap4MacBook Private.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run {input, parameters} | |
--version >= 7.99.5 | |
--use "launch application" step instead | |
--tell application "KeyRemap4MacBook" to activate | |
tell application "System Events" | |
--version >= 7.99.5 | |
tell application process "KeyRemap4MacBook" | |
tell window 1 | |
tell radio button "Change Key" of tab group 1 | |
repeat until exists (* wait until the object is accessible *) | |
delay 0.2 | |
end repeat | |
click | |
end tell | |
tell button "ReloadXML" of tab group 1 | |
repeat until exists (* wait until the object is accessible *) | |
delay 0.2 | |
end repeat | |
click | |
end tell | |
end tell | |
end tell | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment