> 
> But about 1st one I still wonder if there are many people want to 
> know?
> 
> Maybe a template of this is needed.(scroll the winamp title 
> info in lables)
> 
>

The script you show creates a bar on the fly which can be 
confusing.  Here is another approach for a bar you already have.

Create a file called 
c:\program files\powerpro\scripts\rotate.txt

which contains

args str amt
amt = amt % length(str)
quit (select(str, 0-amt) ++ select(str, length(str)-amt))

Now for each button where you want text to scroll, put

*info expr (.rotate("your text ", timesec))

Note that extra blank at the end of "your text ".  Of course, you 
could put a variable here as well
*info expr (.rotate(global_var++" ", timesec))









Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to