![]() Your service and its keyboard shortcut will now appear in the "Application Shortcuts" list.Give it a keyboard shortcut and click "Add".Next to "Menu Title" type in the name of your service.Choose "All Applications" from the list.Click the "+" button to add an application shortcut.Bizarrely, you can't set a keyboard shortcut for it directly on this list, so just ensure its tickybox is turned on. Your new service should be at the bottom of the list. This takes you to the Services list on the Keyboard Shortcuts pane of System Preferences which allows you to control what appears in the services submenu.Also in the Services submenu is an option to open Services Preferences.The script is saved in ~/Library/Services/Something.workflow which is a kind of.When you save your script It will appear in the "services" submenu of every application.A box appears into which you can type your script.Since I wanted to script the Mac layer (not the Unix layer) I double-clicked on the latter. In the list of actions immediately to the right are interesting things like "Run Shell Script" and "Run AppleScript".To the left of the Automator window is a library of actions, towards the bottom of which is the "Utilities" category.Open Automator.app and create a new "service".The way to attach an arbitrary script to a keyboard shortcut is as follows: It took me a few false starts to work out how to create arbitrary keyboard shortcuts in Mac OS X 10.6 "Snow Leopard", so with any luck this article will make it easier for other people who want to do something similar. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |