The Startup macro/script is unique. It is the first thing that runs when Newlook starts up. Typically it is used for initialization, from connecting to a specific connection definition, through to setting session variables and specifying the master form for the session (if one exists).
There can only be one Startup macro or script for each project.
) from the developer
bar.
) to save your macro.SetValue
App.masterform "My Master FormIn the event that you have a startup macro and you are using the -r
(run macro) command or - c (connect) command on the shortcut property for Smartclient (or the Start Macro or Connection Name Startup preferences in Server) then the
macro specified in the -r or the connection specified -c command will take precedence over the startup
macro. In this scenario the startup macro will not run. This can be useful
if you wish to specify different startup conditions for different users.