Assign and recall windows with keyboard shortcuts I would like to be able to assign numbers to windows with a keyboard shortcut like:

Cmd+1 (different numbers for different windows or desktops)

and then recall them with a keyboard like: 

⌘+1 

The specific modifier does not matter much. I used to do this with AutoHotkey in Windows. Can I do this in Mac OS X?
You'll need a Mac-based macro program such as Keyboard Maestro by Stairways Software. Although its interface is very different, it's similarly powerful, if not more powerful than AutoHotkey. The program includes a tutorial and comprehensive documentation.