Keyboard shortcuts for scripts

In CS4, is there a way to assign a keyboard shortcut to a script?

As far as I know the best you can do is to include it in quick apply. You must enable scripts in that list, I'd advise disabling menu commands also to make the searches easier. CMD/CTL + Return invokes the menu. You can type and find what you need, hit return to run the script. If you've recently run the script you can just hit CMD/CTL + Return, Return to rerun it.

Similar Messages

  • Use Shell Script to create a keyboard shortcut for a installed Service

    I'm not even sure if this is possible, but I hope someone out there has an answer!
    I have an automator Application that I'm using to install a service to my Mac(will be deploying this to hundreds more). Id like to have this Application contain a Shell script that sets up a keyboard shortcut for the service after it is installed.
    Anyone know how to do that?

    You need automator to create services, as detailed in http://discussions.apple.com/thread.jspa?threadID=2241804 a four-parter by Sal Saghoian on *Automation in Snow Leopard*
    This, describes old and new automator—services stuff:
    http://www.reynoldsftw.com/2009/08/automator-and-finder-interactions-in-os-x-10- 6/
    Alternatively, just save the script
    *+tell application "Firefox" to activate+*
    as an app, put it on the Dock, and click it to activate it. However, seems simpler just to put the FF icon on the Dock and a single click launches it. Why would you want a service or AS to do the same thing?

  • How do I generate a list of keyboard shortcuts for any given application

    I want to generate a list of keyboard shortcuts for all of the applications I have on my Mac. I want the list to be a simple text (or rtf) file that I can edit and organize. (By edit, I don't mean change the shortcuts, only the report of them.)
    I was using Key Cue, but it does not let me save the list to a text file.
    I want this for several purposes. One is to have a easy to reference list of shortcuts to learn. Another is to find unused key combinations that I can use for my own keyboard shortcuts that I create with DefaultKeyBinding.dict.
    Note: The program doesn't have to an OS X app. A program that runs from a shell without a GUI is plenty adequate.
    If there is a way to read the keyboard commands from a plist list or other such file, and any of you know the format for these or where I can find them, I can write a Perl script myself to do it.

    Well, the info is stored in...
    /Users/YourUserName/Library/Preferences/com.apple.universalaccess.plist
    PlistPro has a way to convert it to ASCII, but you'll srtill have work to do, as...
    {enabled = 1; key = 20; modifier = 1179648; sybmolichotkey = 28; },
    {enabled = 1; key = 20; modifier = 1441792; sybmolichotkey = 29; },
    {enabled = 1; key = 21; modifier = 1179648; sybmolichotkey = 30; },
    {enabled = 1; key = 21; modifier = 1441792; sybmolichotkey = 31; },
    {enabled = 0; key = 28; modifier = 1572864; sybmolichotkey = 15; },
    {enabled = 0; key = 27; modifier = 1572864; sybmolichotkey = 19; },
    {enabled = 0; key = 24; modifier = 1572864; sybmolichotkey = 17; },
    {enabled = 0; key = 47; modifier = 1835008; sybmolichotkey = 25; },
    {enabled = 0; key = 43; modifier = 1835008; sybmolichotkey = 26; },
    {enabled = 0; key = 28; modifier = 1835008; sybmolichotkey = 21; },
    {enabled = 0; key = 96; modifier = 1048576; sybmolichotkey = 59; },
    {enabled = 1; key = 122; modifier = 262144; sybmolichotkey = 12; },
    {enabled = 0; key = 120; modifier = 262144; sybmolichotkey = 7; },
    {enabled = 0; key = 99; modifier = 262144; sybmolichotkey = 8; },
    {enabled = 0; key = 118; modifier = 262144; sybmolichotkey = 9; },
    {enabled = 0; key = 96; modifier = 262144; sybmolichotkey = 10; },
    {enabled = 0; key = 97; modifier = 262144; sybmolichotkey = 11; },
    {enabled = 1; key = 50; modifier = 1048576; sybmolichotkey = 27; },
    {enabled = 1; key = 98; modifier = 262144; sybmolichotkey = 13; },
    {enabled = 1; key = 50; modifier = 1572864; sybmolichotkey = 51; },
    {enabled = 1; key = 100; modifier = 262144; sybmolichotkey = 57; },
    {enabled = 1; key = 17; modifier = 1572864; sybmolichotkey = 50; },
    {enabled = 1; key = 2; modifier = 1572864; sybmolichotkey = 52; },
    {enabled = 0; key = 105; modifier = 0; sybmolichotkey = 32; },
    {enabled = 0; key = 109; modifier = 0; sybmolichotkey = 33; },
    {enabled = 0; key = 103; modifier = 0; sybmolichotkey = 36; },
    {enabled = 0; key = 109; modifier = 0; sybmolichotkey = 62; },
    {enabled = 0; key = 49; modifier = 1048576; sybmolichotkey = 60; },
    {enabled = 0; key = 49; modifier = 1572864; sybmolichotkey = 61; },
    {enabled = 1; key = 2; modifier = 1310720; sybmolichotkey = 70; },
    {enabled = 1; key = 49; modifier = 1048576; sybmolichotkey = 64; },
    {enabled = 1; key = 49; modifier = 1572864; sybmolichotkey = 65; },
    {enabled = 0; key = 53; modifier = 1048576; sybmolichotkey = 73; },
    {enabled = 1; key = 107; modifier = 0; sybmolichotkey = 53; },
    {enabled = 1; key = 113; modifier = 0; sybmolichotkey = 54; }

  • Keyboard shortcuts for text selection not working in Flash CC

    In the new Code Editor in Flash CC running on Mac OS X, most standard Keyboard Shortcuts for traversing through the text work as expected (as the Operating System works globally) but there is one that doesn't and it's I think the most important one.
    Hitting "OPTION + SHIFT + [right or left arrow keys]" to select words doesn't work. Hitting "OPTION + [right or left arrow keys]" works as expected, moving the cursor to the next word or break point, but adding shift doesn't do the selection.
    I don't understand why this changed since it's a basic OS global shortcuts, and every other program behaves the way it should. Flash CS6 running on the same system behaves fine, but Flash CC doesn't. If you have ever written code, you know that any second that a programmers hand doesn't have to leave the keyboard to search for the mouse is invaluable, and this has forced me to stop using Flash CC and use Flash CS6 to edit my Action Script classes becuase it's unusable otherwise.
    These shortcuts are also not listed in the keyboard shortcuts for the program, so I can't change the default behavior. Does anybody know if there's a way to set it back to the way it was before, or just disable special text shortcuts so that selecting text behaves like any other application in the operating system?
    System Configuration:
    Flash CC
    Mac OSX 10.8.5

    Amy~ Yep the lasso tool was what I verified with another user. 'L' seems to be bound indefinitely to loop through different types of lasso tools and it was annoying them because they just wanted L to be the regular freehand lasso. I removed 'L' from being an option on the polygon lasso and even set it explicitly to SHIFT+L as well as set the lasso tool to a completely different keyboard combo. 'L' still cycled through lassos haha. It needs some fixes.
    fertolg~ At least you have a workaround for now. I'd go nuts if I couldn't use keyboard text selection writing code, oy! You're welcome and if you're all set please mark correct so we can filter unanswered. Good luck!

  • What is the keyboard shortcut for extract page?

    There used to be a series of keyboard shortcuts for page manipulation (and other) - using acrobat 9 till recently. Now new to Acrobat XI Pro (Windows 8.1). I can see the shortcuts for insert & delete page but not for extract page (and other). Am I missing something? The keyboard shortcuts are a must for speed and a healthy right wrist.
    Thank-you for your time.

    There isn't a direct way of doing it, but you can "hack" it using a script. Create a folder-level script with this code:
    app.addMenuItem({cName: "MyExtractPages", cUser: "E&xtract Pages", cParent: "Edit",
        cExec: "app.execMenuItem(\"ExtractPages\");", cEnable: "event.rc = (event.target!=null)"});
    This will add a new menu item to the Edit menu which you could access using the following keyboard shortcut: Alt+E, X

  • CS6 will not save keyboard shortcut for dust & scratches filter

    I am running Photoshop CS6 with all updates on a Windows 8 system.  I have several keyboard shortcuts set up that all work fine but when I assign a keyboard shortcut for the dust & scratches filter it will work until I close Photoshop - when I then open Photoshop again this shortcut is gone but all my other shortcuts remain.
    I have tried going back to the default keyboard shortcuts and then adding just the shortcut for dust & scratches (I have tried ctrl-F8 and several others) and then closing Photoshop and opening it again with the same results.  I was able to add back all of my other shortcuts and they work fine.
    For some reason I can assign a keyboard shortcut to anything except the dust & scratches filter.
    Can anyone shed some light on this problem?
    Thanks

    I had a chance to try the script on a windows 8 machine running photoshop cs6 13.01 in both photoshop cs6 versions 32 and 64 bit and shortcuts seem to stay between restarts.
    If in photoshop cs6 you go to File>Scripts you can see that the script is actually listed?
    When i saved the script out of ExtendScript Toolkit i named it Dust and Scatches.jsx.
    Did you run ExtendScript Toolkit as an administrator before saving the script?
    (right click on the ExtendScript Toolkit shortcut (tile) and choose Run as Administrator)
    Saved to:
    C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Presets\Scripts
    (cs6 32 bit)
    and
    C:\Program Files\Adobe\Adobe Photoshop CS6\Presets\Scripts 
    (cs6 64 bit)
    Another possibilty if you can't get the script to work is using an action (Filter>Dust and Scratches) and assigning a function key for the shortcut.

  • Is it possible to create a keyboard shortcut for "Export book to PDF"? (Cannot find it in the Keyboard Shortcuts window.)

    I'd like to create a keyboard shortcut for the "Export Book to PDF" command on the Books panel menu, but I simply can't find that command in Keyboard Shortcuts. After not finding it in what seemed the logical place (Keyboard Shortcuts > Product Area: Panel Menus > Book), I've looked through all the Product Areas listed on the dropdown menu -- but it seems I must be missing something.
    What do I need to do / where do I need to look to assign a keyboard shortcut for this command?

    Sorry, I agree that that is missing in action. I don't know of a workaround unless someone has written a script. Scripts can be called with keystrokes.

  • 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

  • In Yosemite version of Numbers, how keyboard shortcut for "Merge Cells" can be created?

    In Yosemite version of Numbers, how keyboard shortcut for "Merge Cells" can be created?

    OK, I've been doing this since CS2 with no need for a script. To hide guides and show preview...
    1) Go to 'Keyboard Shortcuts'
    2) Go to 'Product Area - Tools'. Yes, you'd think it would be in Views! But the buttons for this is at the bottom of the Tool Bar.
    3) Go to 'Commands: Toggle view setting between default and preview'
    4) Click your cursor inside 'New Shortcut' and hit the key you want or type it in. I choose the unused F2 key
    5) Click the 'Assign' button and you are set. Hit the key to switch back and forth.
    As for your mouse Zoom, use Power Zoom as described above or just hold down the Alt/Option button in 'Hand' mode and use the scroll wheel to zoom in and out. Not one step but it works!
    Now you won't miss Quark at all!

  • How to make a keyboard shortcut for this character: ⌘

    I am growing very fond of the Character Palette, but there are some characters I like to use allot, and it's becoming a nuisance opening the whole window just to insert a ⌘. I was thinking maybe there is a way to make a keyboard shortcut for this character, just like option-shift-K creates . I opened the keyboard viewer and was thinking maybe I could drag the character into an empty space to create a combo...but it's not letting me. Is there any way to do this?

    This is a feature Apple should definitely add customization to on OS X.
    You can make custom keyboard layouts that include any characters you want using Ukelele.
    http://scripts.sil.org/cms/scripts/page.php?siteid=nrsi&itemid=ukelele
    I doubt Apple is going to incorporate this into OS X, but you can suggest it here:
    http://www.apple.com/feedback/macosx.html

  • Keyboard shortcut for ADD / REMOVE KEYFRAME?

    Mm. Can't seem to find this one in the list under Help menu, and no clue bubble when you just mouse-over either. Maybe I'm just missing it.
    What's the keyboard shortcut for adding / removing a keyframe?

    Unfortunately there is no generic shortcut for this. There are some pre-defined entries in the shortcuts file, but only for select properties like position and scale. They are inert, though, and have no shortcuts assigned to them. A generalized approach would probably work by creating a script based on the menu item ID of "Add Keyframe" and instead assigning that script to one of the 20 reserved shortcuts for script execution. Something like app.executeMenuItem(3434) or so....
    Mylenium

  • InDesign Keyboard Shortcut for Submenu Item

    I am attempting to make a keyboard shortcut for a particular menu selection in InDesign CS5. Particularly, I want to select an Adobe PDF Preset
    ("PDF/X-1a:2001") from the submenu. However, when I try select this in Keyboard Shortcuts, all I get is "Define" .. which of couse will bring me to the presets window. I want to be able to select a preset and assign a keyboard shortcut (in this case F15).
    Does anyone have suggestions on how this can be done? I tried various ways, but still can't select anything from that submenu.
    Thanks.

    Hey,
    I agree with Cari! Using SHIFT while clicking on PDF preset name would speed up things! On the other hand, you can use scripting to define which export profile to use and choose destination folder. Great thing about the scripts is that you can assign custom shortcuts to them!
    // Set PDF Preset name
    var myPreset = "[PDF/X-1a:2001]";
    // If not using CS5 or later, set this to: false
    var usingCS5 = true;
    /// --- DO NOT EDIT --- ///
    if(app.documents.length)
        doExport();
    else
        alert("No documents opened");
    function doExport(){
        try{app.pdfExportPresets.item(myPreset).name}
        catch(_){
            alert("PDF Preset not found!\nPlease check name and try again!");
            exit();
        var myFile = (function(){
            var setFile = File.saveDialog ("PDF export based on " + myPreset + " ...", "PDF:*.pdf");
            if(setFile != null)
                return setFile;
            else
                return false;
        if(myFile != false){
            if(Boolean(usingCS5))
                app.activeDocument.asynchronousExportFile (ExportFormat.PDF_TYPE, myFile, false, myPreset);
            else
                app.activeDocument.exportFile (ExportFormat.PDF_TYPE, myFile, false, myPreset);
    All you have to set is PDF preset name and you are good to go! Also, you can save this script with different names containing different presets name and assign different shortcuts to every one of them.
    Hope that helps.
    Marijan (tomaxxi)
    http://indisnip.wordpress.com/
    http://inditip.wordpress.com/
    http://twitter.com/tomaxxi

  • Need keyboard shortcuts for an old Power Macintosh please

    Hi all
    I’m try to copy 2 folders from the desktop of an old Apple Power Macintosh to a ZIP drive.
    The mouse on the Power Mac doesn't work, so I’ve to use keyboard shortcuts to move the folders.
    My problem is that I can’t find the right keyboard map on the web for a computer about 15 years old, and the OSX keyboard shortcuts don’t work on this computer.
    As far as I can work out the Power mac is before G3 and is a 6000 to 8000 model. If anyone knows the shortcut to find the exact software version, that will be great.
    So could anybody please suggest to me the keyboard shortcuts for the following commands:
    Open ZIP dive folder
    Move back to desktop
    Copy folder on the desktop
    Select ZIP drive folder
    Past the folder from desktop to ZIP drive.
    I can’t find any info on the web, so any suggestions will be greatly appreciated.

    Under Mac OS 8 or later, you can select a file or folder in the current window (or on the desktop if no windows are open) by typing the first few letters of its name. You can also use the arrow keys. I don't remember whether these work in System 7.
    Apple-O opens a selected file or folder. Apple-W closes the current window.
    Apple-C and Apple-V are copy and paste, respectively, but I'm not sure if they'll work for copying files and folders. I'm not sure if there's a keyboard shortcut for moving files and folders.
    If you can find "Script Editor" (it might be in a folder named "Applescript"), you could use it to write a script that will move the folders. Follow these instructions:
    Find and open Script Editor. Apple-F opens the "Find" window.
    In Script Editor, enter the following:
    (Instead of XYZ and ABC, enter the names of the folders you want to copy. And instead of MyZIP, enter the name of the Zip disk.)
    tell application "Finder"
    duplicate folder "XYZ" of desktop to disk "MyZIP"
    duplicate folder "ABC" of desktop to disk "MyZIP"
    end tell
    Press Apple-R. That should copy the folders to the Zip disk.

  • Keyboard shortcuts for Word compatible accents?

    To type the letter ǜ in a Pages document, I press u, then altshiftu and then altshift`, and all looks fine on the screen. However, when I export the document to word, Word usually displays it as u¨`. Word does so even if I select for example Helvetica as font, and Helvetica does contain both the glyph ǜ and the glyph with unicode 0308 which is Combining Diaeresis. If I select Lucida Grande as font, Word tries to produce a correct ǜ, but it is not a pretty sight.
    To have a compatible document it seems I need to type unicode 01DC (ǜ), but I have not found any keyboard shortcut for that one. Does anyone know a quicker way to enter it than using the Character Palette?

    Magnus,
    I guess the best way is to use another keyboard layout (script) for those characters. I don't know the language of these characters, but System Preferences/International/Input Menu provides a list of different scripts to use.
    If they don't fit your needs, you could create your own layout: http://scripts.sil.org/cms/scripts/page.php?siteid=nrsi&itemid=ukelele

  • Disabling Keyboard Shortcuts for LDAP Accounts -Workgroup Manager...

    I work in a school and all our students are on LDAP accounts. Recently some of the kids realized that hitting Ctrl-Opt-CMD-8 inverts the screen display. You wouldn't believe the amount of havoc this has created at school, especially when they do it to a kid’s account that doesn't know how to fix it.
    Keyboard and Mouse are NOT one of the items under preferences for either groups or accounts in Workgroup Manager. Does anyone know if there is a way around this, or an alternate way of getting rid of the keyboard shortcuts for Universal Access, for either groups or accounts?
    Thanks
      Mac OS X (10.4.6)  

    Within the Workgroup Manager pane for Preferences, there is an option to manage Universal access. Within that section, there is a tab for 'Options'. You will want to change that management to 'Always' and leave the box for 'Allow Universal Access Shortcuts' UNchecked. This will, in effect, disable the usage of the shortcuts for a User or a selected Group account.
    Hope this helps out!!
    www.Admin660.com

Maybe you are looking for

  • Problem in automatic batch determination for components in process order

    hi Ours is a process order industry. Here we prepare food items. We are entering manual batch for finished product. We want to perform automatic batch determination for one of the components raw material. For other packing material we do not want to

  • JScrollPane policy

    I have a GuiPanel which I add to a JScrollPane policy. If I have the following (where p is my GuiPanel): add(new JScrollPane(p)) The vertical scroll bar never appears. If I have: add(new JScrollPane(p,JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,JScrollP

  • When I type about:config in the address line, nothing happens.

    I need to change a setting to be able to access an internal website that I need to use.

  • Getting "Fatal Alert PUtils.h, Line 74, Invalid counter...

    I have not clue what is going on. I have a Palm m515. I tried to contact the support over the phone but their accent is a lot worse than mine; I could not understand anything. I have backed up the information, done a hard reset and still getting thos

  • ODI Agent errors

    Hi All, My ODI server is Linux. I have the weblogic and manager started, and then started agent.sh got the following errors when agent.sh was started. ODI-1436 Error retrieving ID statistics for work repository WORKREP. Error occured while computing