You cannot execute script in one button by calling executeActions() on that widget from elsewhere. The name execute/scheduleActions implies that only the actions and not the script is executed. You can put your script inside the label of a panel. Then use CF.widget to get the label contents and then eval(mylabeltext); please note that eval returns a single value. For some examples search for posts here containing the word eval. I’ve written about this quite a few times.