I generally write the reference to the button as
CF.widget("WATCH_TV","ACTIVITY_MACROS").executeActions();
Sometimes I need the "CF" or sometimes "GUI", easy to try.
In general the reference is widget("ButtonTag","PageTag","ActivityTag"). ....
Leaving arguments out (starting from the right) defaults to current activity, current page. If Outside the Activity you might need the CF prefix as in CF.widget
Last edited by Barry Gordon
on January 6, 2008 14:19.