~couchNerd ~serialOutrager ~puts2In42 ~makesPigsFly


· by Shantanu Goel · Read in about 7 min · (1445 Words)
cycle theme PDA PocketPC ShantzTodayChanger smartphone TdyChangerCfg Theme tool Wallpapers Windows Mobile WM2003 WM5 WM6

ShantzTodayChanger Config Screenshot


This is a little tool for your Windows Mobile based phones (Compatible with WM5/WM6 but not WM2003) which will cycle ur today background or theme after a set interval of time. It has a lot of features and options that you can discover by reading the text below. And you can even use this options to achieve something other than changing wallpapers as well but that depends on your imagination. ;)

**UPDATE: **I’ve released the source code of ShantzTodayChanger since I’m not getting much time to work on it. You may download the code from the attached zip file above. I’ll still be available for questions, discussions, explanations etc about it if needed.

You are free to copy, modify and redistribute it. Only thing that I ask of you are that:

  1. You retain all credits for me and my website in the source code, final product, and other material (readme etc) intact.

  2. Also, please provide a linkback to the original home page of shantztodaychanger if you redistribute it through some other site, otherwise I’ll be happy to host your modified versions here.

  3. You also have to release the modified source code in its entirety.


**Usage: ** 1. Make a folder on ur device (preferably not on storage card.) and extract all the files (mainly ShantzTodayChanger.exe, TdyChangerCfg.exe, gsgetfile.dll (might not be visible to u depending on ur explorer settings) and Readme.htm) to this folder. 2. IMP: Do not rename any files. 3. Run the TdyChangerCfg.exe. 4. Set options through the dialog that opens and press apply button (Pressing the native WM OK button will discard all your changes) 5. Options: i)Choose image type (.gif.jpg.png) or theme(.tsk) to be cycled. ii)If the input files (images or themes) are not in the folder where exes are kept, then you can check the box (underneath the .gif option) and give the “FULL and ABSOLUTE” path of where the files are kept. You can either input the path thru keyboard or choose it graphically by pressing the button (…) next to it. iii)If you want to run a file after every cycle interval, check the corresponding box and provide the “FULL and ABSOLUTE” path of the file to be run. You can either input the path thru keyboard or choose it graphically by pressing the button (…) next to it. iv) If you want some files to be avoided during cycling, put a file mask. The program will look for this mask to appear anywhere in the name of the files and will avoid it if found. (Wildcards are not supported. Choose time option has to be checked for this to work) v) Choose the period for which mask option has to be used. If you choose a time period and leave mask as empty, then during that time no cycling will be done. If you want to avoid some files all the time, then time period should be chosen to cover all 24 hrs of the day. vi)enter the desired interval between cycling of images\themes. vii)If you choose a period for the mask, another check box (Consider mask period for exe also) will be enabled. Checking this box will mean that the specified exe will be run only if an image\theme is changed during that cycle. If you dont check this, then exe will be run after every cycle even if there is no change in the image\theme. 6. When you want to stop the cycling, press “STOP Cycling” button.

**Additional Notes: ** 1. The GUI for configuration has not been optimized for square screen devices, so you need to make some guesswork and use hardware keyboard for input but the changer program itself will run fine. 2. Doesnt have to be running constantly. So saves resources when not active. 3. Survives soft resets as well. 4. Even takes care of the situation if your phone is off when the time to cycle is reached. Will cycle as soon as ur phone comes back on in this situation.

**Planned Updates: ** i) Suggestions invited. I have a lot of updates in mind but will incorporate those only which are requested by you.

**Known Issues: ** i) If the mask option is selected, then in a very particular situation, the app will miss a cycle. This can be taken care of but not in my priority list because this can be fixed only by rewriting the complete cycling code which is quite a bit. So, will fix it if I get some time from my other projects. ii) If after maknig the configuration, you see the screen flash for a second at the right times, but the backfround doesn’t change, then do this: - Go to : Settings…today….appearance - un-check “Use this picture as background” - start the program using “startTodayChanger.lnk” or TdyChangerCfg (Apply button) (Thnx to CWKJ for reporting this bug and fix, and to eric for reminding me about it)

**End Note: ** Like every software, this one is also bound to have bugs, please report it asap. Though ShantzTodayChanger does not run continuously but sometimes some apps that close all processes automatically (like SPB backup) might clash in schedule with ShantzTodayChanger and close it when it starts to run. In such a case (which is quite unlikely), the app might not be able to set a notification for next cycle, so if u face this situation, then run the config again.

**Version History: **

1.53 - 23-March-08 -> RECOMMENDED UPDATE i)Theme Color Detection has been improved a lot. Should work much more accurately now.

1.52 - 11-Aug-07 -> i) Fixed another bug for the “time period” option. ii) Made a little optimization in the code.

1.51 - 05-Aug-07 -> i) Fixed a bug which prevented the “time period” option from working properly. ii) Fixed a bug where wallpapers might not change if certain particular themes were installed before change cycle happens iii) Fixed a bug where the time period option was not remembered properly by the GUI. iv) Added option to allow user to choose whether to run the user specified file (exe\lnk) after every cycle interval only if there was a change in image\theme during that cycle. v) Made a few small changes to the GUI to prevent users from making incorrect settings.

1.50 - 29-July-07 ->MAJOR UPDATE i) Added option to specify a mask to avoid files having that mask ii) Added option to specify the time period during which the mask has to be considered iii) Added code to ensure that if mask is empty and a period is chosen, then no rotation is done during that period. iv) Added option to run a user specified file after every cycle interval. v) Fixed bug where the jpg and png options were not working earlier. vi) Clicking help button now opens help in Pocket Internet Explorer. vii) Fixed many more subtle bugs that manifest themselves and very peculiar situations. viii) Optimized the code a bit at a few places. ix) Also see “Known Issues” section above. x) Removed the “append to previous info” box as now the app remembers old info correctly.

1.33 - 18-July-07 -> i)Added code to select the input path graphically. It is a bit of workaround though. To select an input folder, just select any file inside it in the select folder dialog. ii)TdyChgrCfg now shows you the previous settings.

1.32 - 21-Jun-07 -> i) Fixed a bug where sometimes on cycling themes, colors change but images do not change. ii) Added a measure to avoid running multiple instances (just as a precaution) iii)Added code to avoid losing notifications if phone is reset too early after running the program

1.31 - 20-Jun-07 ->Fixed 2 bugs: i) A notification bug where old notification is not deleted ii) A bug where cycle interval value is not correctly read from the GUI

1.3 - 19-Jun-07 -> i)Added option to make partial changes to previously entered information. ii)Fine-Tuned the Theme Color support algo. Now, theme colors should be almost 95% same as calculated by windows mobile while applying theme. iii)Did some code optimization

1.2 - 19-Jun-07 ->Major Update: i)Added Theme Support. Changing of system colors as per theme is also supported (which is not done by any other program IIRC) ii)Added option to keep input images\themes in a separate folder iii)Provided a GUI Configuration module iv)Provided option to choose between gif\jpg\png\tsk to be cycled.

1.11 - 12-Jun-07->Fixed another bug with notification queue

1.1 - 12-Jun-07 -> Fixed the bug that causes WM5/WM6 devices not to cycle wallpapers in certain conditions

1.0 - 10-Jun-07 -> Initial Release

Credits: daxliniere/wacky.banana -> For asking to make the tool and their inputs SeanFromSoCal/200mpx -> For their inputs