--- Alan Martin <[EMAIL PROTECTED]> wrote:
> Conclusion
> The following should fix all the problems mentioned in this thread.
> 
> Whenever you add or remove jpegs, run this command:
> dir c:\wallpapers\*.jpg /b/a-d >c:\powerpro\store\jpglist.txt
> 
> To change wallpaper, just run changewallpaper.powerpro
> 
> ------------------------------------------
> ;; this is changewallpaper.powerpro
> ;; beware of yahoo splitting my lines
> 
> i = i + 1
> nextjpg = "c:\wallpapers\" ++ readline
("c:\powerpro\store\jpglist.txt",i)
> 
> ;; modify the next line to suit convert.exe's command line
> do("c:\pathto\convert.exe " ++ nextjpg ++ " 
c:\powerpro\store\temppaper1.bmp","")
> 
> wallpaper show c:\powerpro\store\temppaper1.bmp
> ;; maybe use the next line to refresh your bar's background:
> cl.SetBackground(clname,"c:\powerpro\store\temppaper1.bmp")
> quit
> 
> @startup
> static i = ini.get("c:\powerpro\scripts.ini","wallpaper","nextline")
> quit
> 
> @shutdown
> ini.set("c:\powerpro\scripts.ini","wallpaper","nextline",i)
> quit
> -----------------------------------------
> 
> In your Scheduler Startup script, add
> runfile [EMAIL PROTECTED]
> 
> In your shutdown script add
> runfile [EMAIL PROTECTED]
> 
> __________________________________________
> __________________________________________
> 
> Test the above.
> If wallpaper.changeto complains that you are changing to the same 
> bitmap file and/or will not refresh it's reading of temppaper1.bmp,
> modify the above script thus:
> 
> ------------------------------------------
> ;; this is changewallpaper.powerpro
> ;; beware of yahoo splitting my lines
> 
> i = i + 1
> nextjpg = "c:\wallpapers\" ++ readline
("c:\powerpro\store\jpglist.txt",i)
> 
> flag reverse 5
> if(pproflag 5)do
> do("c:\pathto\convert.exe " ++ nextjpg ++ " 
c:\powerpro\store\temppaper1.bmp","")
> 
> wallpaper show c:\powerpro\store\temppaper1.bmp
> cl.SetBackground(mybarname,"c:\powerpro\store\temppaper1.bmp")
> 
> quit
> 
> else
> do("c:\pathto\convert.exe " ++ nextjpg ++ " 
c:\powerpro\store\temppaper2.bmp","")
> 
> wallpaper show c:\powerpro\store\temppaper2.bmp
> cl.SetBackground(mybarname,"c:\powerpro\store\temppaper2.bmp")
> 
> quit
> 
> @startup
> static i = ini.get("c:\powerpro\scripts.ini","wallpaper","nextline")
> quit
> 
> @shutdown
> ini.set("c:\powerpro\scripts.ini","wallpaper","nextline",i)
> quit
> -----------------------------------------

Wow, an excellent script. Thanks!

Sean



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
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