Writing your first macro

A macro can be used to add functionality to your application. It is typically assigned to an event-related property of an object. When the object's event is triggered, the macro will be executed. Macros can also be configured so that they appear in the Newlook Smartclient menu or can be run via a shortcut key combination.

Once a macro is created it will appear in the Macro Collection window (select Logic > Macros from the Developer Bar). This window lists all the macros stored in the current solution's shared repository (.sid file) and allows you to sort, filter, duplicate, delete and add new macros. You can sort macros by clicking the relevant column header or filter the list to only those macros containing the specified filter string. Double clicking a macro in this window will open it in the editor.

See Also

Macro Conditions | Properties and Events | Variables, Arrays and Types | Expressions | Startup Macro | Writing and Debugging Macros | Scripts | Reference