Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The only workaround I am aware of is using applescript in Spark/FastScripts with

do shell script "python"
share|improve this question
FastScripts can launch non-AppleScript (e.g. Python) scripts directly. Just put the script (or an alias to it; symlinks do not seem to work) somewhere in ~/Library/Scripts. – Chris Johnsen Oct 23 '09 at 21:11

In 10.6 Snow Leopard it's quite easy to add any command to the Services menu of each application (or specific applications), and then assign a keyboard shortcut.

Here on Super User, see Fast User Switching/Apple Menu? for an example that invokes some shell script.

share|improve this answer

You can use Keyboard Maestro to launch an application or script from the keyboard. There is also IronAHK (AutoHotkey rewrite) which works under Mono, example:

^n::Run, /path/to/

although make sure the script has sufficient execute permissions and a shebang line.

share|improve this answer

You can also use automator to make a contextual menu invoked script.

share|improve this answer

Other applications that launch AppleScripts like FastScripts (lite) include Quicksilver, Butler, and ControllerMate.

I believe Quicksilver may allow for the execution of Shell scripts directly from within the application, but I dislike Quicksilver on the point that it seems to flake out more often than Butler does.

share|improve this answer

Personally I don't see anything wrong with your workaround. It seems like a perfect solution, so much so that when I found this question in a Google search, that's the one I used. Thanks! :-)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .