Meny,
The right way to do this is to use the "preRun" trigger. For example:
procedure(CCFaddPreRunTrigger(sess)
axlSessionConnect(sess "preRun" 'CCFpreRunTrigger)
)
procedure(CCFregPreRunTrigger()
axlSessionRegisterCreationCallback('CCFaddPreRunTrigger)
)
procedure(CCFpreRunTrigger(sess sdb mode testName)
printf("JUST ABOUT TO RUN TEST %L IN MODE %L\n" testName mode)
t
)
Call CCFregPreRunTrigger() to set it up so that the next ADE XL view you open will call the trigger.
You can find out the triggers using:
sess=axlGetWindowSession()
axlSessionSignalList(sess) ; outputs the trigger names
axlSessionSignalSignature(sess "preRun") ; tells you the expected arguments for the named trigger.
This avoids having to change any buttons and so on.
Regards,
Andrew.