\
Source Code
Commands
ExtnAction
This command can can be used within a "Extn" block.
It defined an action to be associated with a "ProgId".
The command takes these parameters:
- Command (required)
This is the full command line to be executed.
- Description (optional)
This is the action's text that appears in the right
click context menu.
- Key (optional)
You can specify the name of an already existing or predefined action
(such as "Open"), otherwise a value will be assigned.
<$Component "TestExtnMacro" Create="Y" Directory_="INSTALLDIR">
<$Extn ".TestExtn" KEYPATH="Y" Description="Test Extension">
<$ExtnAction Key="Open" Description="EDIT FILE" Command=^notepad.exe "%1"^>
<$/Extn>
<$/Component>