Module Macros
source code
Simple plugin provides actions to allow executing macro code in the
active buffer. In the future it could be extended to allow recording of
macros.
This plugin provides the following actions:
ExecuteActiveBuffer
Execute the contents of the active buffer as
a python script in the pallavi context.
IntearctiveExecuteAction
Prompt the user for an action to be executed and
invoke it.
ExecuteMacro
Show a dialog prompting for a macro name.
Execute the contents of a file in the pallavi_config/macros
directory with that name. Macros should have .py extensions,
but these are optional in the macro dialog.
InteractiveLoadPlugin
Prompt the user for a plugin to load and load it.
This plugin invokes the following action:
RequestUserInput
Request action, macro, or plugin name from the user
|
setup()
Set up the actions that this plugin provides. |
source code
|
|
|
ExecuteActive(data=None)
Execute the active buffer as a macro in the Pallavi context |
source code
|
|
|
ExecuteAction(data=None)
Interactively prompt for an action to be executed and execute
it |
source code
|
|
|
|
|
InteractiveLoadPlugin(data=None)
Prompt the user for a plugin to load and load it. |
source code
|
|
Execute a Macro by name. Macros are stored in the
pallavi_config/macros directory. If data is supplied, consider it a name
to execute, otherwise prompt for a macro name to execute
|