Skip to content

AppleScript to create keyboard shortcuts

2010 October 29

Last week my company laptop got stolen, so I had to setup my system again using this list. The positive part of each new system setup is you think more and more how to automate your setup..

This time I was really annoyed with setting up keyboard shortcuts, so I came up with this little AppleScript which does the work:

The key is ‘GUI scripting’ – a specify way of AppleScript to simulate clicks, keystrokes etc. for *any* (native?) App. You only have to know the ids of the GUI elements which you can get with this very nice tool:

Good source to start your Mac Os X Automation is:

Flattr this!

Comments are closed.