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.

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!

  • 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 make a keyboard shortcut for a specific color for fonts?

    I'm a novice InDesign user and these forums have been a great resource, so thank you for your time.
    I'm doing a very complicated "text art" project and I'd like to be able to change text colors right from the keyboard.
    In Word, one is able to make a keyboard shortcut (to an unused key combination) that would allow you to change text to white, for example and another combination to change it to black, etc.
    I'd love to be able to do that in InDesign without having to mouse over to the color swatch or over to a paragraph style with the text color set.
    Again, thank you in advance!

    For anyone else who has this problem - I actually found out an easy workaround.
    There's another forum that addresses the NumPad issue for MacBooks (http://forums.adobe.com/thread/324960) and I did a modified version for character styles v. paragraph styles per the final comment by Kaj-Ettore.
    ==
    (1) Open text edit and copy the below script (for me it was changing the text to white):
    try{app.selection[0].applyCharacterStyle
    (app.documents[0].characterStyles.item(1),true)}catch(e){}
    Watch the number '(1)' in brackets on the last line: This is the Style number according to the Styles listed in the 'Character Styles' Panel of InDesign (following "[None]").
    Per my setup, "White" is 1 and "Black" is 2.
    SEE SCREENSHOT:
    Decrement the style you'd like to be applied via this script from the styles listed in the InDesign-applet 'paragraph styles'.
    *Note - This Workaround only works for specific Documents – since InDesign links Styles with document templates.
    (2)  Save the Script to:
    %InDesign_Install_Folder%\Scripts\Scripts Panel\Samples\JavaScript\Style(%nmb%).jsx
    or name the file as you like. You'll have to assign a keyboard-shortcut to this and other files later, so it is wise to choose a common and memorable syntax for naming, e. g. numbers or style-names. (I used Style(White).jsx)
    (3)  Repeat this step for every style you'd like to be applicable via a keyboard shortcut...
    This is my "Black" script:
    try{app.selection[0].applyCharacterStyle
    (app.documents[0].characterStyles.item(2),true)}catch(e){}
    Saved as: Style(Black).jsx
    Assign a Shortcut to the Script
    (1)  Open InDesign > Preferences > Keyboard Shortcuts > %YourSetOfShortcuts%
    (2)  Select 'Scripts'
    (3)  Choose the first script you've written, e. g. 'style(body).jsx'
    (4)  Create Shortcuts for Standard- and Text-Environment
    (5)  Repeat for any script you've written
    (6)  Done.
    This worked perfectly for me and I can now use ONE keyboard shortcut (albeit 3 simultaneous keys) to change from black text to white text.

  • 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

  • Lost keyboard shortcut for render

    In the last two Premire Elements 10 projects I have started, the keyboard shortcut for rendering (return) is no longer operational.  In the Keyboard Customization menu, this choice is grayed out and I can't select it.
    Any shortcuts for fixing this?  Do I have to re-install the program?  My Premire came in a package with Photoshop, and I suspect I will have to re-install Photoshop also, which I would like to avoid -seems to be asking for trouble!
    Thank you
    Also, the Render command does not work even when I choose it from the drop down menu.  And I have a Mac running OS 10.

    Is the light gray Work Area Bar along the top of the timeline over your entire project? Only clips under the Work Area Bar will be rendered.
    Can you post a screen capture of your timeline to this forum?

  • 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

  • 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 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.

  • Any way to create a keyboard shortcut for keywords in Bridge CC?

    Just curious if there's any way to create a keyboard shortcut for "new keyword" and "new sub keyword" in Bridge CC?
    If not, that would be a welcome addition in any future Bridge update - being able to customize keyboard shortcuts or add your own the way you can in Premiere Pro CC.

    Steve,
    Not, as far as I know, directly, but the problem is with Aperture, not Keyboard Maestro.  Aperture has no command (afaik) for selecting the caption field of the Info Inspector.  Without a command, you will have to find another way to access it, or another way to accomplish what you want.
    You can specify the spot clicked by screen coordinates, so you cold use the Inspector HUD and the coordinates of the Caption field, as long as the Inspector HUD always pops up in the same location.
    Many dialog boxes allow the user to advance through the fields with the Tab key.  Unfortunately, the number of times you have to type "{Tab}" in order to get to a particular field depends on other interface elements (if the Control Bar is showing, add 2).  I don't know of a way to determine if the Control Bar is showing.
    You might find a work-around using a Metadata Preset and the Batch Change command.  Keyboard Maestro can easily pop up a dialog with a text field in which you can type what you want to go into Aperture's Caption field.
    The best thing to do is download the trial version and see if it meets your needs.  Keyboard Maestro is adept at creating macros based on keyboard input.  If the program does not provide keyboard equivalents, writing an effective macro becomes difficult.
    http://www.keyboardmaestro.com/main/
    The author provides exemplary documentation:
    http://wiki.keyboardmaestro.com/About_Keyboard_Maestro
    Lastly, for the use you cite, I simply show the Inspector if it's not showing (by typing "i"), change to the Info tab if it is not currently activated (by clicking, but note that opening the Inspector with the Info tab selected can be done with one command "View➞Inspector➞Info"), and then clicking in the Caption field, which is part of all of the Metadata Views I regularly use.
    HTH.  Perhaps one of our programming mavens will suggest something better.
    --Kirby.

  • Where can I find a list of the keyboard shortcuts for editing a Wiki page, on Windows and Mac?

    I tried searching in Help, but I haven't been able to find anything.  I'd like to get a list of the keyboard shortcuts that work while editing a wiki page in the Mac Server Wiki running on Lion. 
    When accessing Lion Server Wiki from a Mac, some of the usual suspects work: cmd+B for bold, cmd+} to indent, etc.  When accessing the Lion Server Wiki from Windows, though, I can't find an equivalent keyboard shortcut for the indent / unindent.  Where can I find a list of all of them?
    Thanks!

    http://support.apple.com/kb/HT1558
    http://support.apple.com/kb/TA38663
    http://support.apple.com/kb/HT4982
    They are also listed in the built-in User Guide accessible directly on the iPhone in Safari.
    Find the "iPhone User Guide" bookmark, then go to iPhone at a Glance > Status icons

  • 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!

  • Is There a List of Keyboard Shortcuts for Adobe Digital Editions, I Found Two By Accident the "Arrow" Keys and the "Enter Key" for Turning Pages in an eBook...

    Hi  ??  :       Does Anyone Know If There is a List of Keyboard Shortcuts for Adobe Digital Editions, I Found/Discovered Two By Accident the “Arrow” Keys and the “Enter Key” for Turning Pages in an eBook...   Thanks
    I Did Look for this Keyboard Shortcuts in Adobe Digital Editions Help & FAQ Areas and Got the Run Around, Very Hard to Find How Use Adobe Products !!
    Microsoft Windows Vista & Win 7 Operating Systems
    Message was edited by: Al Adams

    Nope, I doubt it.  As I said:
    I disabled Aero theme, checked font scaling was 100% and rebooted Windows in between all of the steps to no avail.
    I've been reading a lot around this and it seems the arrow key problem is a red herring; I think it's just some kind of terminal preferences corruption.

Maybe you are looking for