Launch Automator and choose Service as the type:
Add a Run AppleScript action, delete all the text inside, then write a one-line script:
(This is for Numbers. You'll need to find the precise name of your application, from memory it may be "Microsoft Excel") Make sure the settings at the top match the screen shot: Service receives no input in any application
Save the Service workflow. I called mine run Numbers. Quit Automator if you like.
Launch System Preferences, go to Keyboard, Keyboard Shortcuts, Services, General, select your Service:
Choose a shortcut, quit System Preferences, test the shortcut.
Hope this helps with the process.
HD, a little more help if you have time.
Do you know where the files created (workflow files) using Automator are located. (folder, etc) And also, I've created some workflows that didn't work but are in the keyboard-shortcuts-services window. Do you know how to delete them?
And last, I created several using your instructions and they worked but then quit working. Any ideas as to why they would stop operating. (it's probably operator error, haha)
The workflow files are located in folders inside the LIbrary folder of your user account. In Lion and Mountain this is hidden by default in Finder. To access it, pull down the Go menu in Finder and then press the Alt key (? Option in US) on the keyboard - LIbrary will appear in the menu and you can select it to open it.
Inside the Library folder is one folder callled Services and another called Workflows. Services contains Services you have created yourself. Workflows contains subfolders for Workflows, Applications, Folder Actions etc.
Alternatively, right-click on a Service in the keyboard shortcuts pane in System Prefs and choose Show in Finder.
Removing the files from these folders will remove them from the keyboard shortcuts list in System Prefs, but you may need to log out of your account and log back in again to see the change.
Without more detail about what the workflows do, it's hard to say why they might stop working. Is it just the keyboard shortcut that fails, or do they stop working from the Services menu too?
HD, Thanks again and again
I was able to delete the files using your instructions and clean up the services window in preferences.
Is it just the keyboard shortcut that fails, or do they stop working from the Services menu too
I'm going to do some testing and see if I can figure out what is going wrong.
As I stated b4 your help has cleared up many of my questions.
I've had an iMac for a number of years but never really got into it like I want to now. I just got a new 27" iMac and it's so much better than my old one I had. I've been having a great deal of fun with it and I want to really learn the system. Difficult for a aged mind such as mine. Haha.
PS. is there a way to send you a private message rather than using the discussion board?