• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shortcut keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shortcut keys


  • Subject: Re: Shortcut keys
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 11 May 2005 11:13:47 -0400

That doesn't work. The only thing you can map keys to in the Keyboard & Mouse system prefs is existing menu items.  Things that are already under File or Edit or Finder or whatever, like Open and Copy.  You can't map a key to run a program unless you already have an app with a menu item that runs that program.

As many folks have said recently in what has now become three different threads: if you want to map a keyboard shortcut to run an AppleScript you will need to install a third-party utility to let you do it.

I'm just getting into this area myself, but so far it seems like FastScripts is a good choice if what you'll be running is mostly AppleScript programs.



On 5/11/05, Steven Valenti <email@hidden> wrote:
The Keyboard & Mouse Preference option doesn't trigger my compiled
script.
I made this simple script:

tell application "Finder"
display dialog "Hello"
end tell

Saved compiled script into home script folder with name "Hello".
In Keyboard & Mouse Preference clicked add, chose Finder as
Application, in menu put in "Hello", and typed in shortcut.
I'm not getting the dialog box when I press this shortcut.
I'm I missing something???

Steven

On May 11, 2005, at 9:50 AM, Stephen Jonke wrote:

>
>
> On May 11, 2005, at 9:07 AM, Steven Valenti wrote:
>
> > Is there any way to apply a keyboard shortcut to activate a certain
>  > named script in a home script folder? My users have asked if they
> could
>  > have a shortcut key to our most commonly used scripts.
>
> You could use a third party tool such Keyboard Maestro. However there
> is a built-in means to set keyboard shortcuts for menu items in 10.3
> and later. It's in the Keyboard & Mouse settings in the System
> Preferences. So... first you'll want to enable the scripts menu, put
> your scripts into it, then use the "Keyboard Shortcuts" preferences in
> the Keyboard & Mouse system preferences to set keyboard shortcuts for
> your script(s).
>
> To install the Script menu (taken from Script Editor help):
>
> Double-click Install Script Menu in the /Applications/AppleScript
>  folder
>
> Then you'll want to put your scripts in the menu (select "Show Scripts
> Folder" from the script menu, and put your scripts in there).
>
> Then you'll want to set keyboard shortcuts for them as noted above. You
> have to enter the exact name of the menu.
>
> Steve


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: email@hidden



--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Shortcut keys
      • From: Bruce Robertson <email@hidden>
    • Re: Shortcut keys
      • From: Bruce Robertson <email@hidden>
References: 
 >Re: Shortcut keys (From: Steven Valenti <email@hidden>)

  • Prev by Date: Re: Shortcut keys
  • Next by Date: Re: Help in creating a Start Up item in Panther
  • Previous by thread: Re: Shortcut keys
  • Next by thread: Re: Shortcut keys
  • Index(es):
    • Date
    • Thread