On February 22, 2009 at 15:38, Lyndel McGee said...
Remember there ARE NO GLOBAL SCRIPTS. You will be pasting code into each activity or you might do as others have done where you put the code into a Panel Label (as long as it is less than 32KB) and then use eval(CF.widget(...).label) from Activity Script to create your classes, common functions, etc..
This has been discussed before so search for +panel +label +eval for last 2 years and I'm sure you'll find some hits to clear up any questions you might have.
Also see the "so you think... " PEPV2 sticky thread about setting the font on these 'Script' labels to something other than 0/None/FONT_NONE.
Lyndel
Lyndel,
Sorry I don't think I was being precise with language since I still have very little idea what I'm talking about when it comes to prontoscript. I've been looking at some other peoples' scripts and it looks like for one activity there is a "global script" that seems to set up all the two way interaction, a parameters page, and then individual scripts on various buttons. It seems that the more complicated part is that "global" script. The individual button scripts seem pretty concise and almost obvious but maybe I misunderstand since I'm such a noob.