Sunday, October 22, 2017

#1 2005-10-23 06:00:00 pm

julifos
Administrator
From:: Malasaña, Madrid
Registered: 2002-11-20
Posts: 2014

Can I assign a keyboard shortcut to an AppleScript?

Under OS 9 you can assign the function keys at the top of most keyboards (F6 for example) to run scripts. Open the Keyboard control panel and click the "Function Keys..." button, then choose which function key you want to use and navigate to the script it will invoke.

In OS X we can still use function keys with combos to run compiled scripts using the application FastScripts or Xkeys, by David Stark, or...

There are several more versatile ways to attach a handy keyboard shortcut to a frequently used script. QuicKeys can launch anything, including AppleScripts and it can also create many other shortcuts all of which can be called by scripts.

Similar tools are Key Xing, by LumaCode, MacChampion's Scenario, Shadow Lab's Spark and Script Software's iKey. Each one with different functionalities and cheapest than QuicKeys.

In OS 9 and below, we had a cool alternative, Leonard Rosenthol's invaluable OSA Menu which puts a configurable menu of scripts in your toolbar for easy access. It also allowed you to assign keyboard shortcuts to the items in that menu.

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)