In v.2 and 2.5 of EDAP Tools we’ve had a few multifunction commands, but they were the exception rather than the norm.
Practice has shown that this is a good flexible solution to delivering richer functionality in a smaller footprint.
With v.3 multifunction commands have become our preferred method of bundling logically related actions.
This article is intended to remove all confusion about what can be done by the end user to customize these commands to better suit their needs and how.
There are generally two types:
A command which performs different actions depending on user selection.
(Timeline Block To Symbol is such an example – if the timeline selection spans across only one frame, it behaves in one way; if the selection is a block of frames it does something else.)
In this case the user calls the function with the same shortcut and depending on their selection one or the other block of code is executed.
A command which has multiple functions built into it and they can be triggered by calling the command with different shortcuts.
(Create Magnet Target Or Center Marker (SMR) is an example. Shift+` creates Magnet Targets and Alt+` creates Center Markers.)
Type 1 commands can be run from the Commands menu and don’t necessarily need a shortcut to access their full range of functionality.
Type 2 commands, however, would only perform the default action if called by clicking on their menu entry in the Commands menu. All other functions are only accessible when the command is called by a keyboard shortcut.
If we use Create Magnet Target Or Center Marker (SMR) again as an example, selecting the command from the menu will result in the creation of a Magnet Target, but we will never be able to create a Center Marker unless we use the keyboard.
Type 2 commands listen for a key combination which includes a specific modifier key.
Create Magnet Target Or Center Marker (SMR) listens for Shift+(assigned key) or Alt+(assigned key) to differentiate between the two modes.
If for some reason you are not happy or comfortable using the EDAPT Keyboard Shortcuts, you can assign your own, keeping in mind this simple rule:
You can use any key as long as the modifiers stay the same.
Create Magnet Target can work with Shift+(any key) – say Shift+9
Create Center Marker can work with Alt+(any key) – say Alt+B
Both of these shortcuts have to be assigned to the same command, i.e. Create Magnet Target Or Center Marker (SMR) should be associated with two separate shortcut combinations.
With Flash CC you can do this via the program’s dialog.
In 8-CS this can only be done by editing the shortcuts file in a text editor as described in this article.
Some of the commands combine Type 1 and Type 2 to achieve even more complex and flexible interaction.
Smart Transform (SMR) is one such example. There are 3 different shortcuts/assigned to the command, but depending on user selection each of these trigger slightly different functionality as described here.