Activity › Forums › Adobe After Effects › Can i assign a new shortcut in CS3?
-
Can i assign a new shortcut in CS3?
Posted by Dotan Stern on April 8, 2009 at 8:25 amIs there a shortcut to show and hide the mask in CS3?
i know there is a way to change the shortcut to something that is already have a shortcut in AE
but what about if there is no shortcut?
thanxDotan Stern replied 17 years, 1 month ago 2 Members · 3 Replies -
3 Replies
-
Peter O’connell
April 8, 2009 at 3:45 pmHi you can hide all the onscreen controls with the shortcut shift+option+h. If you really need a shortcut to only show or hide one particular mask in AE you could turn on Hide Locked Masks in Layer>Mask, then make a jsx script like this:
app.executeCommand(app.findMenuCommandId("Locked"));
(this is a very basic version of a possible script)Save the script to your scripts folder and assign a keyboard shortcut to it by modifying the “Adobe After Effects 9.0 Shortcuts”. Change one of the lines that looks like this:
“ExecuteScriptMenuItem02” = “()”Into this:
“ExecuteScriptMenuItem02” = “(your shortcut here)”In this example the script would be the topmost script in the scripts pulldown menu.
You might also need a script to unlock all masks since the code above won’t toggle.
app.executeCommand(app.findMenuCommandId("Unlock All Masks"));
You could then assign this script (make it the 2nd in the list) to another shortcut:
“ExecuteScriptMenuItem03” = “(your shortcut here)”Make sure there aren’t any shortcut conflicts in the Shortcuts file.
Pete
roguekeyframe.com
-
Dotan Stern
April 9, 2009 at 7:00 amThanx for the post pete but its easyer for me just to click the show/hide mask button then to run a script
i asked if i can assign a shortcut to this button that already work on AE
is it possible?
Reply to this Discussion! Login or Sign Up