stumped: set script of buttons at runtime - solution A

Rob Cozens rcozens at pon.net
Thu Jun 16 14:54:27 EDT 2005


Eric,

>The thing I hadn't figured out that lead me down the present path was
>that I couldn't figure out how to add the script to the template button.

If you are building the script at runtime, my approach won't work.  If 
you're selecting from a finite number of pre-written scripts, store each 
script in a separate invisible template button.

Rob Cozens

"I cannot do great things;
  but I can do small things with great love."

         -- Mother Teresa 



More information about the use-livecode mailing list