Wallpaper changer using Irfanview and PaperFolders

Discuss and share scripts and script files...
Post Reply
totmad1
Posts: 131
Joined: 24 Jun 2013 12:37

Wallpaper changer using Irfanview and PaperFolders

Post by totmad1 »

This was developed from this topic http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=12894
All PF's were put in "wallpaper" folder within <xypaper>.
Script is set to give you a menu for "Daily" with "1Daily" being the PF
"Select Folder" with PF's starting with "0"
"Seasonal" with PF's of your choice
"Select Folder" was inspired by klownboys mention of folders "Japan" and "Hawaii".
"Daily" was the most interesting to produce. It presented a problem of what seemed at first
to be insurmountable (hard to find what was the problem) eventually found that a symbol was being
created between end of extension and <crlf>.
Images can be anywhere, only requirement that they are suffixed with month and day in format
i.e "01_01". If there isn't an image for a certain date it will produce a popup and do nothing.
This is ideal for photographers to take pictures each day and seeing those images used as wallpaper
the next year.
As you can see from the script it is easy to set to run any one of the three choices without interaction.
irfanWallChanger.xys
(1.91 KiB) Downloaded 83 times
totmad1 (totally mad one)

klownboy
Posts: 3164
Joined: 28 Feb 2012 19:27

Re: Wallpaper changer using Irfanview and PaperFolders

Post by klownboy »

Thanks totmad1. I'll check it out when I get home on Tuesday.

totmad1
Posts: 131
Joined: 24 Jun 2013 12:37

Re: Wallpaper changer using Irfanview and PaperFolders

Post by totmad1 »

Finally got round to checking my script on my main pc.
Two things realised/found both concerning "Daily".
1/ "mm_dd" can be suffix or prefix.
2/ my "problem" did not appear.
so all of 4 lines can be deleted or commented out i.e.

Code: Select all

 //     $count = gettoken("$image_list", "count", "<crlf>");
   //   $see= rand(1,$count);
   //    $Choice=gettoken($image_list,$see,"<crlf>");
   //      $image_list=substr($Choice, 0, -1);
hope that didn't cause any problems for you.
totmad1 (totally mad one)

Post Reply