create custom keyboard shortcuts / hotkeys in mac os x: spark + applescript

Coding
Mac OS X
Author

Vinh Nguyen

Published

August 2, 2009

in any linux gui environment, u can define custom keyboard shortcuts for anything, whether its executing a shell command to anything u can think of.

i love my macbook, but i really hate how Apple WILL NOT let me customize things the way i want it. they really force you into their philosophies: we say things should be simple for everyone so we will rely on the mouse. this is BS.

well, i recently figured out a way to resize and move my emacs frame with the keyboard, and i wanted to do that with all windows on my mac like in unix. after googling, i found 2 ways:

  1. mercury mover, which costs $24. no way! the method is a lot like emacs do re mi though. this is good.
  2. use this guy's applescripts together with spark.

Spark is a great hotkey manager. Great addon to Mac to bring yet another useful feature from linux. I first used spark with emacs remember mode for jotting down notes in the middle of my work. Will write about that next.

I think i should tweak the applescript to somehow make it like mercury mover.