|
|||||||
| Register | FAQ | XDA-Portal | XDA-Wiki | Device database | Donate! | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hey Folks,
After some experimenting with MortScript, it's done. I create a script that will automatically Change the gif files in S2U2 in a random Order. --------------------------------------------------------------------------- ######################## ###S2U2 - Gif changer### ###Dr.Jeckyll - 2008 ### ######################## Repeat(9999) If(ProcExists("iLock2.exe")) Run("\Program Files\S2U2\iLock2.exe") Sleep(1000) SendOK() EndIf gif_nr = Rand(29) Change this Nr. to the number of gifs you want to use but +1 Copy("\Storage Card\My Pictures\"&%gif_nr%&".gif", "\Program Files\S2U2\gfx\Wallpaper.gif", TRUE) you can change the folder where the gif files are and you can change the installation folder of S2U2 Run("\Program Files\S2U2\iLock2.exe") Sleep(3600000) every 1 hour the picture will change the time is in milliseconds Run("\Program Files\S2U2\iLock2.exe") Sleep(1500) SendOK() EndRepeat -------------------------------------------------------------------------- Just copy the text between the lines in an empty document and rename it as S2U2GifChange.mscr Installation: 1. Install MortScript, I use the latest beta from http://www.sto-helit.de/index.php?mo...ew&action=view 2. Delete the iLock2.exe and the S2U2 exe from your Windows/Startup directory 3. Copy the script to the Startup directory. 4. Restart the device You have to rename the gif files you would like to use to 1.gif, 2.gif, and so on, and you have to write the number of gifs +1 to the green marked point in the script. When the message Ilock 2 and s2us are closed apperas, do nothing it will self close. |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Thanks for the effort. Just my 2 cents:
This script will run resident all the time and take up valuable memory and processing power.I think instead of doing a repeat loop, a better way is to simply queue the script in the notification queue. The first if condition after repeat is to quit ilock which is not necessary. There is a restart command line parameter for S2U2. chris.wilcox has another version here http://forum.xda-developers.com/showthread.php?t=389397
__________________
Phone: O2 XDA Atom Life ROM: PV ATOM LIFE WM 6.1 OS 5.2.19701 OS: WM6.1 UI: PointUI |
|
#3
|
||||
|
||||
|
hey, i just download the mortscropt and i a super noob and i change the wallpaper name with 1.gif 2.gif ect.., and the wallpaper are going to change randomly?????
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|