Keyboard shortcuts to run app

I am having some trouble in this area, being a decade+ Windows user - I want to have a keyboard shortcut (like... Ctrl + Cmd + V will open VLC Player)
I've found the Keyboard Shortcuts under Keyboard & Mouse, which seems to add keyboard shortcuts depending on the application, but these seem to require the exact menu title within the app.
What I want is to run the app itself, globally, within any window, by pressing a key combination.
Is this possible? Easy? I figured I was missing something since everything else has been easily intuitive for me.
Intel iMac   Mac OS X (10.4.8)  

Setek, I followed all of those steps, modifying them to correct for a syntax error I got. Everything seemed to work. I have “Terminal” as menu option available for all applications, with a keyboard shortcut associated (and displaying) with it. Bizarrely, the keystroke works in Safari, but not elsewhere that I found. Finder is silent. Text Edit and Mail make a “bonk” sound, as they do for other invalid key presses.
What I tried follows. Let us know how it works for you!
First step, need to enable the AppleScript Menus Extra (if you have not already):
Applications > AppleScript > AppleScript Utility
Check Show Script Menu in menu bar (checkbox)
To make things easier, then open your Scripts folder:
Script Menu (icon) > Open Scripts Folder > Open User Scripts Folder
This is the location where your compiled script needs to be saved.
Open up Script Editor (in the same folder as AppleScript Utility) and past in the following code:
tell application "Finder"
open application file "Terminal.app" of folder "Utilities" of folder "Applications" of startup disk
end tell
In Script Editor, Save selecting “application” as the File Format. Script Editor by default put this in Documents. So I moved the result to the User Script Folder. (Alternatively, one can save directly to Home > Library > Scripts.)
After saving, Script Editor should reformat the lines above. You can test the script to make sure it works. You can quit Script Editor if you like.
At this point I have “Terminal” as the bottom most item in my the Script Menu.
The final step is adding a keystroke shortcut, as I showed earlier today for Window > Zoom.
System Preferences > Keyboard & Mouse > Keyboard Shortcuts (tab) > + (button)
Application: All Applications
Menu Title: Terminal
Keyboard Shortcut: Control-Command-T (Command-Option-T is used)
So long as the Scripts Menu is available, this shortcut keystroke should be available.
Modify the above directions as you like for other applications.

Similar Messages

  • Keyboard Shortcut for Run Last Script?

    Anyone know of a keyboard shortcut to run the last script that was run? I am editing an animation and have written a script that writes code based on it, and I need a quick way to run it without the open file dialog.
    Thanks!

    Method 1:
    You can assign shortcut keys to the first 20 scripts listed under the File > Scripts menu via the "Adobe After Effects 10.5 Shortcuts" file. Just search for "ExecuteScript" in the shortcuts file to find the section.
    Method 2:
    You can use ft_ToolBar which allows you to launch scripts with the click of a button. You can also create a new button and just paste your script code directly into the provided window without having to create a jsx/jsxbin file.

  • Keyboard shortcuts in terminal.app for moving to next and previous tabs

    Hi,
    In Terminal.app, if you click on the Window menu item, it tells you that the keyboard shortcuts for moving to the next and previous tab are ⌘} and ⌘{.
    When I try to use those shortcuts however all I get is it beeping at me.
    The only way I've found to move from tab to tab is ⌘-shift--> and ⌘-shift-<-
    What do I have to do to get the ⌘} style shortcuts working??
    Thanks
    H.

    http://www.google.com/search?client=safari&rls=en&q=terminal+shortcuts&ie=UTF-8& oe=UTF-8#hl=en&sugexp=les%3B&gs_nf=1&gs_mss=mterminal%20shortcuts&pq=terminal%20 shortcuts&cp=2&gs_id=8&xhr=t&q=mac+osx+terminal+shortcuts&pf=p&safe=off&client=s afari&rls=en&sclient=psy-ab&oq=materminal+shortcuts&gs_l=&pbx=1&bav=on.2,or.r_gc .r_pw.r_qf.&fp=b610fb1514df2529&biw=1008&bih=1008
    Here are some to get you going:
    Ctrl + A Go to the beginning of the line you are currently typing on
    Ctrl + E Go to the end of the line you are currently typing on
    Ctrl + L Clears the Screen, similar to the clear command
    Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
    Ctrl + H Same as backspace
    Ctrl + R Let’s you search through previously used commands
    Ctrl + C Kill whatever you are running
    Ctrl + D Exit the current shell
    Ctrl + Z Puts whatever you are running into a suspended background process. fg restores it.
    Ctrl + W Delete the word before the cursor
    Ctrl + K Clear the line after the cursor
    Ctrl + T Swap the last two characters before the cursor
    Esc + T Swap the last two words before the cursor
    Alt + F Move cursor forward one word on the current line
    Alt + B Move cursor backward one word on the current line
    Tab Auto-complete files and folder names

  • Everytime I add a keyboard shortcut, the settings app crashes.

    So I go to the keyboard shortcuts section on the settings app. Then I hit the "add shorcut" button and I enter the shortcut, etc. When I finish entering everything in, I touch "save", and as soon as I do that, the app crashes to the home screen. It does actually save the shortcut, but it is a huge pain to have to navigate my way back to the shortcuts feature each time, especially because I have a lot of shortcuts that I need to enter. I have an iPhone 5 and the latest iOS. Can anyone help with this?

    I have a similar issue, when I go to open the shortcuts, the Settings App crashes so I can't even get in to add more.

  • Keyboard shortcuts for ipad apps???

    Does Apple plan to add keybard shortcuts to its iPad apps in its iWorks programs?  This would make using the use of the iOS apps more productive when jumping between macOS and iOS to do work (build presentations, when mobile, etc.) when pairing a wifi keyboard with your iPad.

    Nobody here would know the answer.
    Suggest you send Apple feedback through the proper channel:  https://www.apple.com/feedback

  • Keyboard Shortcuts to launch Apps

    In a bygone era of Windows, it use to be possible to set keys or combinations thereof, to launch applications ControlShiftkey or FUNC + key . . .
    Is this possible in SL? I see where one can create shortcuts that work within a designated application but I would like to have a simple key stroke combination to launch an application(s) without creating an alias or script?

    the easiest is to use a 3rd party app launcher. there are loads of them and any one will do this: Qucksilver, Butler,launchbar, Spark,ikeys etc. you can also do it without 3rd party tools using automator. see this link
    http://www.macosxhints.com/article.php?story=20090903085255430

  • Keyboard shortcut to open new Tab in Terminal.app

    Hi,
    I'm looking for a way to open new tabs with keyboard shortcuts in Terminal.app
    Opening the default profile is not a problem (command-T), but how can I get to the non-default profiles? Assigning keyboard shortcuts in the System Preferences doesn't seem to work.
    Maybe something like a Quicksilver Trigger? Applescript? Any ideas?
    Thanks,
    Koinseb

    Post to the Unix forum under OS X Technologies for Unix and Terminal questions.

  • Keyboard shortcut to applescript

    I don't know if this is the right forum, but anyway here goes my question.
    I've got a little applescript for iTunes. I have it working within iTunes, and i even managed to assign a keyboard shortcut to it.
    However, this keyboard shortcut works only, if iTunes is the foreround application.
    What i would really like to have is a keyboard shortcut that runs this applescript no matter which app is currently in the foreground, without bringing iTunes to the foreground (assuming iTunes is already running and playing in the background).
    Any ideas?
    I will appreciate all kinds of hints, suggestions, etc.
    Best regards,
    Gabriel.

    I think i already found a solution to my problem: Butler.
    Sorry for the confusion.

  • Using applescript to open a folder with a keyboard shortcut

    hello -
    i have a rather simple question (probably). is there a way using applescript to create a keyboard command to open a folder? i.e. command shift a opens the applications folder and command shift u opens utilities. can i use applescript to designate a keyboard command to open a folder i have created? also, the script editor does not have to be open for me to utilize scripts, correct?
    thanks for your patience with a newbie.

    You can't make a keyboard shortcut to run a specific application from OSX, although there are third party applications such as Quicksilver that can do things like that. You can use an AppleScript to activate an existing menu item, for example:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "Finder" to activate
    tell application "System Events" to tell application process "Finder"
    keystroke "A" using {shift down, command down}
    end tell</pre>
    Other alternatives to keyboard shortcuts are to use the Scripts Menu or add an application to the Finder's toolbar. The Script Editor does not need to be active to use scripts.

  • Keyboard shortcut for Spaces?

    I'm pretty new to mac, and loves space on my macbook. But I've run into a problem...when I'm out and about I use spaces all the time, but when I get home I have external monitor that I use as a secondary display. I normally disable spaces when I get home, because I don't want create spaces like I was without a second monitor. Currently I'm going into spaces and just disabling it, but is there a keyboard shortcut that will allow me to disable spaces without having to go into system preferences?
    Thanks in advance.

    there is no built in tool for this. but if you REALLY want to do this you can make a service that toggles spaces on/off using automator and applescript. you can then assign a keyboard shortcut to run ot. or you can make two separate services one for turning spaces on and another to turn them off and make separate shortcuts to them. I can supply the details but do you actually want to go through all that? I would recommend using spaces at home too. I find them quite convenient with two monitors as well as with one.

  • Keyboard shortcut for Control+F2, F, Enter

    Hello,
    I am trying to create a keyboard shortcut that would be available to all Applications deliveres the same result as these keystrokes:
    1. Control + F2 (move focus to menu bar)
    2. F (moves focus to the File menu bar menu)
    3. Enter or down arrow (Displays the File menu)
    WHat I am looking to do is create the Windows equivalent of alt+F (displays the contents of the File menu)
    I have created a System Preferences Keyboard Shortcut for All Applications that has "File" as the description and ^F has the Shortcut...this doesn't work. Is there a way to assign a shortcut to display the menu bar File menu in its open state?

    ReidRik_Von
    Here's one approach to try...
    1) Open System Preferences > Universal Access and make sure "Enable access for assistive devices" is checked.
    2) Highlight and copy the block of code below and paste it into your AppleScript Script Editor (located inside your Applications > AppleScript folder):
    *tell application "System Events"*
    *keystroke tab using command down*
    *set theApp to name of (first process whose frontmost is true)*
    *tell process theApp*
    *click menu bar item "File" of menu bar 1*
    *end tell*
    *end tell*
    Choose Save As from the Script Editor's File menu, File Format: application, leaving the Options unchecked. Give the script application a name (Display File Menu, e.g.), and press Save.
    3) To assign a keyboard shortcut, you might consider downloading and installing the excellent Spark program.
    From Spark's File menu, set up a New Hot Key to launch an Application, in this case the application being your newly created AppleScript application. When the new System HotKey sheet drops down, hit the Choose button and navigate to the location where your new AppleScript application was saved. Select it and press Open. Click inside the editable Shortcut field to make it active, and on your keyboard keystroke Option (alt), plus the letter "f." Then press Create.
    Start the Spark Daemon by selecting it from the File menu, or by pressing the Stark Spark Daemon button on the Spark panel itself, and then quit Spark altogether. The Spark Daemon and your enabled keyboard shortcut will run as a hidden process, using a minimal amount of RAM.
    It worked for me...
    Good luck!
    Regards, Andrew99

  • How to specify a keyboard shortcut to launch an application

    I'm not much of a script writer but I have this script:
    tell application "System Preferences" to launch
    tell application "System Preferences"
    activate
    end tell
    It was saved as an application and it works fine when double-clicked.
    Now, how do I create a keyboard shortcut to run this script?

    the first line in your script is redundant but you don't need the script for this. see this link
    http://www.macosxhints.com/article.php?story=20090903085255430
    another option is to use a 3rd party application launcher like Butler, Quicksilver, launchbar etc.

  • Keyboard shortcut macros?

    I've been using various programs for 20 years, that allow me to open the files I use daily with a simple keystroke, such as control/tab or control/p. Since I just upgraded to snow leopard, I find that my iKey program doesn't work, and that it hasn't been updated for several years. I used quickeys for many years before iKey. I figured that there must be some built-in way to use this kind of function now, such as scripts or automator, which i have never needed before, but i can't find anything anywhere after an hour of searching. Am I missing something obvious? Can anyone help me please? thank you.

    With the new Services architecture, you can create keyboard shortcuts to launch apps with a small amount of work in Automator and Keyboard Shortcuts.
    Open Automator and select Service.
    Set Service receives No Input.
    Drag in a Get Specified Finder Items and add your app to the list.
    Drag in an Open Finder Items; leave as open with default application.
    Save this with a name that most likely won't show up in another app. Generally "Open " and app name will likely work.
    Now, open Keyboard System Preferences and select the keyboard shortcuts tab.
    Add an new item to the list and name it the same as your service.
    Add the command key code you want to use.
    Now, you can start up the app with the command key you assigned. You could even add several apps and documents to the "Get Specified Finder Items" action.

  • IWeb 08 adding Keyboard shortcuts

    Hello All,
    I am using Format>Font>Baseline>Raise
    My Question is how can I make this with a Keyboard shortcut because I use this allot.
    Take care.
    Regards,
    Bill

    You can add keyboard shortcuts for any app in:
    System Preferences -> Keyboard & Mouse -> Keyboard Shortcuts pane -> + button on mid-lower left.
    Be sure to select iWeb in application pop up menu, type in Raise for the menu title and assign your key.

  • Applications in subfolders not available for keyboard shortcuts?

    In System Preferences>Keyboard>Shortcuts , I choose App Shortcuts and go to select my application, but it's in a subfolder, and I don't see the subfolder available to click to go inside and find my app.  Is this a bug, or is there a command key I should be using?
    thanks!

    Thanks for the feedback, but I see all /Applications subfolders.

Maybe you are looking for

  • Database connection getting reset after application server is idle

    Hi, I have a centralized database with 7 to 8 tablespaces for different applications, for one of the linux based application i am having the captioned issue. The system works fine but whenever its left idle for more than 45 minutes the following scen

  • Programmatically open a file and save it in a new directory

    To start off, I'm relatively new to LabVIEW and did a couple searched about this and couldn't find anything pertaining to what I wanted. Right now I have an event structure where I click a button and the file dialog comes up.  I then select a CAN dat

  • Cann't launch the ADF Swing Project

    Hello, I have created java-application(swing,adf bc) in Jdev10.1.3, and created the Java Web Start(JNLP) files for the application ,run ant target: sign. it created all files ,build ok. but when I run the local.html in the Jdev1013, it open IE window

  • 1 new message showing but no message in app?

    I have 1 message showing but when I open the app I have no new messages. I have deleted all of my messages but it still shows a new message is waiting.  Does anybody else have this and how can I delete it? Thanks

  • How does Flex handled long computation tasks?

    Hi I am using Flex3 with Java. I need to print a large document after doing some processing on it, which require about 15 seconds(varying depending on size of document). Currently, the browser will hang for around 15 seconds and after that the printi