I'd like to bind a global keyboard shortcut to open AckMate within TextMate, even if I don't have TextMate open (open the most recent project in that case). How can I do this on Mac OSX?
Open Automator, and select to create a new Service that receives No Input in Any application.
Add a single Run AppleScript action and paste the following code:
tell application "TextMate" to activate tell application "System Events" to tell application process "TextMate" to tell menu bar 1 to tell menu bar item "Edit" to tell menu 1 to tell menu item "Find" to tell menu 1 to tell menu item "Search Project With AckMate..." to click
Save using any name, and assign a keyboard shortcut in System Preferences » Keyboard » Keyboard Shortcuts » Services.