chaosinpurple | 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)

daque2000 | 11 Sep 2010 00:12
Picon
Favicon

Re: Simple counter?


Change the right-click command
from:  *Script | Assign | set myCounter  = 0
to  :  *Script | Assign | myCounter  = 0

I got the same error when I set mine using "set"; not needed.

------------------------------------

PowerPro can be found here: http://www.ppro.org/
and here: http://ppro.pcrei.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/powerpro-beginners/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/powerpro-beginners/join
    (Yahoo! ID required)

<*> To change settings via email:
    powerpro-beginners-digest@... 
    powerpro-beginners-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    powerpro-beginners-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
(Continue reading)

chaosinpurple | 11 Sep 2010 08:58

Re: Simple counter?

Perfect - thank you!

--- In powerpro-beginners@..., "daque2000" <daknorr <at> ...> wrote:
>
> 
> Change the right-click command
> from:  *Script | Assign | set myCounter  = 0
> to  :  *Script | Assign | myCounter  = 0
> 
> I got the same error when I set mine using "set"; not needed.
>

------------------------------------

PowerPro can be found here: http://www.ppro.org/
and here: http://ppro.pcrei.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/powerpro-beginners/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/powerpro-beginners/join
    (Yahoo! ID required)

<*> To change settings via email:
    powerpro-beginners-digest@... 
    powerpro-beginners-fullfeatured@...
(Continue reading)


Gmane