Documentation Center

The System Macro

In the dialog Macro you can select one of the available macros as the system macro. When you start the system macro with the command Tools / System Macro / Start System Macro this macro will be active all the time. When you work with Passolo some of the actions you perform will issue events. If the related call back handlers are defined in the system macro, these events can be processed.

Enter the following code to your system macro to display a message box pops every time you press <CTRL ><SHIFT>8.

Public Sub PSL_OnHotkey8() 
MsgBox("You have pressed <Ctrl><Shift>8!") 
End Sub

Please refer to the documentation of the class PassoloApp to get more information about the call back handlers that can be implemented.

You can also implement call back handlers if you automate Passolo from Visual Basic. In this case you must declare the PassoloApp object as Dim WithEvents psl As PassoloApp.

If you automate Passolo from an external application, the internal scripting engine will be disabled and the system macro will not run.