10 Sep 2010 22:28
Re: Simple counter?
Thanks for that. I have most of it working, but I'm getting an error message on the right-click. I have *Script | Assign | set myCounter = 0 But on right-click I get an error message: Bad expression: invalid operator at = 0 Apologies if I'm getting something wrong due to general Friday numptiness. --- In powerpro-beginners@..., "daque2000" <daknorr <at> ...> wrote: > > add a command in the Configure | Scheduler tab to run at startup: > global myCounter = 0 > this initializes a global variable when PPro starts. > > Next create a button on a bar with the following command for left click: > *Script | Assign | myCounter = myCounter +1 > for the right button do the same thing, but set myCounter = 0 > > For the name of the button use *Info expr (myCounter) > > Each time the left mouse is clicked the number shown on the button will increase. A right click will set it to 0. > ------------------------------------ PowerPro can be found here: http://www.ppro.org/ and here: http://ppro.pcrei.com/Yahoo! Groups Links(Continue reading)
RSS Feed