Creating a keyboard shortcut for a director movie button

Hi, I am relatively new to director,
I have created a director movie which I currently control
with a number of onscreen buttons. Each button runs several
different behaviours when the button is pressed. I was wanting to
know if there was a simple script I could create, that would map a
keyboard shortcut key to some of these buttons. For example, if I
pressed the "a" key, it would call mouseDown(The sprite number of
the button associated with the "a" key). without me actually moving
the mouse into the button or clicking on it.
Thanks,
-Matt

You could try playing with 'the keyDownScript' or 'the
keyUpScript'.
For example:
on prepareMovie
the keyDownScript = "mCheckKeys"
end
on mCheckKeys
if the controlDown then
case (the key) of
"a": sendSprite(1, #mouseDown)
"b":...
end case
end if
end

Similar Messages

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

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

  • Is there (or can I create) a keyboard shortcut for the command "export"?

    is there (or can I create) a keyboard shortcut for the command "export"?

    Keyboard Shortcuts are created in the System Preferences app, Hardware section, Keyboard, Keyboard Shortcuts tab.
    Select Application Shortcuts on the left.
    Click the "+" sign on the right and in the dialog box that pops up, enter: "Export..." and your preferred key combination. Here's an example:
    Keep in mind that when you enter the name of the action in a layered menu, such as File > Export..., or Share > Export..., you are only going to enter the last menu choice, not the higher levels.
    Regards,
    Jerry

  • How do I create a keyboard shortcut for a nested finder menu item?

    Specifically I'm trying to create a keyboard shortcut for Finder>Services>Mail>Send File.
    Any help would be appreciated.

    pmasitti,
    Under System Preferences > Keyboard & Mouse > Keyboard Shortcuts, click on the "+" sign. From the drop-down menu choose Application: Finder, Menu Title: "Send File" (without the quotes), Keyboard Shortcut: whatever.
    Close system System Preferences and quit the Finder for the change to take effect. You can easily quit and relaunch the Finder from the Apple Menu > Force Quit. Select Finder and click on the Relaunch button.
    For the action to complete, select the Finder item before pressing your keyboard short cut.
    Worked for me... good luck!
    Andrew99

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

  • Creating a keyboard shortcut for Calendar's Export- doesn't work

    I created a keyboard shortcut in Calendar to easily export calendars (let say option-ctrl-E).
    When I launch Calendar the shortcut doesn't work. But after I opened the File Menu, then the Export sub-menu, the shortcut DO work as expected.
    As I need this for an Applescript (there is still no Export… command in Calendar's dictionnary!), it's quite annoying.
    Interestingly, I don't have the same problem when I create a shortcut for "Calendar Archive…".
    I know I can of course use GUI scripting in AppleScript, but it's quite annoying.
    Any idea?
    p

    Does it continue to fail on a restart of the app?
    I can offer a workaround:
    If you need to automate creating a Calendar Archive, just copy all the .caldav, .calendar, and .group folders, allong with Attachments from ~/Library/Calendars/ into a folder called Calendar. Package it up in a folder with a .icbu file extension and add an info.plist file to that folder with the following information:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>date</key>
              <date>2013-03-07T01:08:00Z</date>
              <key>version</key>
              <string>2.0</string>
    </dict>
    </plist>
    Right-click on a Calendar archive and choose "Show package contents" and you'll see what I am describing.

  • Can I create a keyboard shortcut for changing text colors in Mail?

    When composing an email in Mail (v5.2), I often have the need to change the text of a few words to red to highlight them (e.g. names of people assigned to an action item) but want to do it via keyboard shortcut.  I know I can do the following:
    Press Command-Shift-C brings up to Colors panel
    Choose the color (e.g. Red) with my mouse
    Type the text
    Choose the color (e.g. back to Black) with my mouse
    Continue typing text
    And that's if I want the color panel to stay visible (add at least 3 more steps all together if I close it in the interim).
    I've tried using keyboard shortcuts to assign a color (couldn't find the right menu path) and Automator to create a script (the color panel always has to be in the right location which it may not be). None of those techniques work.
    It's an annoyance more than anything else but I imagine it should be possible.
    Thanks for any assistance!
    John

    Not only is this very possible, it's also very easy. You can do this not just for Quark but for any application in OS X. To accomplish what you want, do the following:
    * Firstly, quit QuarkXPress completely. The rest of the steps won't work if it is still running.
    * Go to the Apple menu and select System Preferences.
    * Click the Keyboard & Mouse System Preference Pane
    * Click Keyboard Shortcuts
    * Click the + button to add a new shortcut.
    * Select QuarkXPress as the application.
    * In the Menu Title field type "Place Name" exactly like that but without the quotes.
    * Click inside the Shortcut field and type the key combination you want to use for this shortcut. I suggest using Command + one of the F keys, like Command+F1.
    * Click Add.
    * Close System Preferences
    * Run Quark, open a document, and try it out!
    Robert

  • Flash CC keyboard shortcuts for test/debug movie not working

    My keyboard shortcuts all work exept for the various test / debug options, like debug on device,test on desktop. None of these options work.
    I tried different keys combinations, so it's not the problem.
    I'm tired of going trough the menu + submenu each time because I frequently switch (desktop is faster for quick testing).
    I mean, I do this a hundred times a day. Please check this! thanks.

    Hi, thanks for taking the time to answer.
    Flash CC, Win7 64bit, I use sublime text, nothing else is running...
    Absolutly nothing is happening if I try.
    Correction: ctrl+enter has been successfully assigned (I see the text in the menu) and is recongnize for "test movie ...air debug desktop"
    Others don't appear in the sub-sub-menu for testing or debugging over usb.
    I've assigned them to ctrl+alt+enter/return and ctrl-shift-enter/return. (I've tried other keys as well...)
    So it appear the problem is with test/debug USB...
    EDIT: Just to be clear, I try to set custom shortcuts, to avoid the default behaviour (one shortcut to launch the last choice). this weird behaviour is probably the cause of the problem in the first place.

  • Can I create a keyboard shortcut for opening a document in a specific program?

    Hi there,
    I'm getting into html scripting and javascript programming. The files I'm working with are .html and .js. When you first click on these files they open in safari which I like, but I don't like having to right click and select "open in textmate" can I create a shortcut so I can just select the .html and .js files and hit a shortcut to pull up in an alternate program?

    Not only is this very possible, it's also very easy. You can do this not just for Quark but for any application in OS X. To accomplish what you want, do the following:
    * Firstly, quit QuarkXPress completely. The rest of the steps won't work if it is still running.
    * Go to the Apple menu and select System Preferences.
    * Click the Keyboard & Mouse System Preference Pane
    * Click Keyboard Shortcuts
    * Click the + button to add a new shortcut.
    * Select QuarkXPress as the application.
    * In the Menu Title field type "Place Name" exactly like that but without the quotes.
    * Click inside the Shortcut field and type the key combination you want to use for this shortcut. I suggest using Command + one of the F keys, like Command+F1.
    * Click Add.
    * Close System Preferences
    * Run Quark, open a document, and try it out!
    Robert

  • Is it possible to create a keyboard shortcut for Add Audio Keyframe?

    I would like to assign a keyboard shortcut to be able to create an audio keyframe at the playhead. There doesn't seem to be an option in the Keyboard shortcuts menu.\
    This feature allows the editor to keyframe audio and mix without having to use the mouse. Also, this feature was available in FCP 7.

    Still dont know how one would set parameters but...
    I would suggest a "better" way to set some audio keyframes is to do a live realtime mix from the audio mixer in Write Mode.
    Then adjust KFs or overwrite them using mouse or MIxer facilties.
    I have never quite understood how one can mix using KFs on a static audio track!
    Its an ear/listening thing..IMHO  ( well thats how the pros do it anyway)

  • How do I create a keyboard shortcut for compressing text?

    I am in a prepress situation where we build print advertisements.
    The company has just gone over to Indesign from Quark.
    I would like quick access to text compression similar to Quark's 'Ctrl ['.
    I can't find the facility to compress in 'Edit/Keyboard Shortcuts/Type'.

    - Navigate to Adobe InDesign's "Edit" menu and select "Keyboard Shortcuts." The Keyboard Shortcuts dialog box comes up on your screen.
    - Click on the "Set" pop-up at the top of the Keyboard Shortcuts dialog box. Choose "Shortcuts for QuarkXPress 4.0." Now click "OK." That's all you have to do to make Adobe InDesign behave more like QuarkXPress.
    - Attempt to use a QuarkXPress shortcut and you find your familiar hands-on environment within Adobe InDesign. This saves you time by letting you leverage the value of your experience in a new software package.
    - Return to the "Edit" menu and choose "Keyboard Shortcuts" again if you prefer the keyboard commands from QuarkXPress but always wanted to change one or more of them. Don't try to edit the shortcuts in the "QuarkXPress 4.0" set  itself. Instead, click the "New Set" button. In the window that comes up, type a distinctive name for your new shortcut set. Choose "Shortcuts for QuarkXPress 4.0" from the "Based on Set" pop-up. Now click "OK." The "Product Area" pop-up  helps you assign new shortcuts to as many menu items as you wish. (If you try to assign a shortcut that's already in use, you see the conflict listed at the bottom of the dialog box.) When you've finished your changes, click "OK" to use your  new settings.
    - Test your new shortcuts

  • Can I create a keyboard shortcut for an AppleScript built into Quark6

    I do a lot of photo scatters and sometimes have to use the "Picture box" "place name" script in Quark6. I wish I had a keyboard shortcut, because I use it as many as 80 times on a set of scatter images.
    I am clueless about how do do this, is it possible?

    Not only is this very possible, it's also very easy. You can do this not just for Quark but for any application in OS X. To accomplish what you want, do the following:
    * Firstly, quit QuarkXPress completely. The rest of the steps won't work if it is still running.
    * Go to the Apple menu and select System Preferences.
    * Click the Keyboard & Mouse System Preference Pane
    * Click Keyboard Shortcuts
    * Click the + button to add a new shortcut.
    * Select QuarkXPress as the application.
    * In the Menu Title field type "Place Name" exactly like that but without the quotes.
    * Click inside the Shortcut field and type the key combination you want to use for this shortcut. I suggest using Command + one of the F keys, like Command+F1.
    * Click Add.
    * Close System Preferences
    * Run Quark, open a document, and try it out!
    Robert

  • Apple Mail creating a new keyboard shortcut for delete

    In Gmail I can hit the "D" key to delete saves much time. 
    In Apple Mail I have to hit the delete key which is on the right side of the keyboard and my right hand is busy with the track pad scrolling. I want to create a keyboard shortcut for delete something like option D any easy left handed shortcut will work.  Sys pref/keyboard shortcuts/mail doesn't work, Any suggestions?

    Hello!
    I don't know about mouse shortcuts, but you can put a delete button in the top bar of Mail, like so:

  • How to create a keyboard shortcut in firefox for email link

    I would like to create a keyboard shortcut for firefox for the EMail Link menu item. I specified shift-Command-S as the keyboard shortcut. When I hit the key sequence the File on the menubar flashes but the Email Link window never opens. Does anyone have a clue as to what I need to do to get this to work or is there a reason it doesn't work. I do use Outlook for my mail client. That shouldn't be a problem because when I manually select EMail Link from the File menu Outlook is properly used.
    thanks for your help
    john

    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?

Maybe you are looking for

  • Connecting to a remote OpenLDAP server over SSL.

    I've been trying for several weeks now to get a remote OpenLDAP server up and running; configured in such a way that it only allows SSL and requires certificate validation. I've created a CA with a self-signed certificate. I used that CA to create a

  • Hdd not picked up at right size

    im sorry to post this here, im sure there a simple and easy answer but i am not in an environment to find that out right now so ill ask and hope i get a response. My board detects the hdd as 180gb western digital, im using an 875p neo fis2r and it wo

  • Please Help : Installing Oracle 9I R1 on RedHat Linux

    ./runInstaller Initializing Java Virtual Machine from /tmp/OraInstall0/jre/bin/jre. Please wait... SIGSEGV 11* segmentation violation Full thread dump: Monitor Cache Dump: Registered Monitor Dump: Name and type hash table lock: <unowned> String inter

  • Problem while executing BAPI_PRODORD_GET_DETAIL through JAVA using JCo

    Hi All, I am trying to get Production Order details in JAVA program using JCo. Following is the code I have written. JCoDestination destination = JCoDestinationManager.getDestination(ABAP_AS); JCoFunction function = destination.getRepository().getFun

  • How to edit photostream captions on Windows?

    Once photos are added to a shared iCloud Photostream album on a Windows machine, there does not appear to be any way to edit the captions/comments. Is this true? Any workarounds?