Related
Hello All,
I decided to start a my own thread for this script because I had an update for it.
I wrote this script some time ago and I've been using it for a while now. I thought I was the only one who wanted random gifs, guess not
Below is a MortScript I wrote, it will choose a random file in a directory of your choosing and set it to the S2U2 background every 2 hours.
Installation:
Download the attachment and extract the S2U2_Wallpaper.mscr file and copy it to your device in your \My Documents\ folder.
Then just run it and it will do the rest.
(*) It puts its next run in the "Notification Queue", so it should remain there even after a Soft-Reset. It does on my device anyways. MortScript is great!
Customization:
To change the directory: edit Line 7
To change how often you want the images changed: edit Line 9
Make sure you copy this to your My Documents folder on the device mem and run it. Then it'll change randomly for you.
Currently I have it set up to choose gifs and jpegs, but you can change that in Line 7, in theory
Enjoy and pass it on to others!
- chis
UPDATE:
I noticed that if my script runs to change the wallpaper for S2U2 AND I have S2P running, both programs freak out. So, I added a check to "postpone" the wallpaper change if S2P is runnng.
Thanks!! I've been looking for this my whole life !! (well actually when I started using S2U)
salahnajm said:
Thanks!! I've been looking for this my whole life !! (well actually when I started using S2U)
Click to expand...
Click to collapse
You're welcome, buddy! Enjoy!
need help with s2u2 walkpaper
hey, i know this thread is kinda old but if some can help program my s2u2 to randomly change my wallpaper that would great...
godson408 said:
hey, i know this thread is kinda old but if some can help program my s2u2 to randomly change my wallpaper that would great...
Click to expand...
Click to collapse
Just copy the zip attachment and extract the file inside to your device in the "My Documents" folder and run it. Thats all
@All - I uploaded the file here, the upload issue on the forum looks to be resolved! Yay!
Hey I've been using it for a while; sometimes it works smts it gives an error (see image below). I tried reproducing the problem but it seems to be VERY random. ... sometimes it goes through 3-4 cycles max and changes the wallpaper and then gives the error, sometimes after attempting first cycle it gives the error.
I have a t-mo Wing running WM6 , any suggestions?
thanks
Error should be fixed
Hi salahnajm,
I've uploaded a new script with hopefully a fix. I changed with way the script is inserted into the notification queue to run.
Let me know if this helps. Thanks for the report!
salahnajm said:
Hey I've been using it for a while; sometimes it works smts it gives an error (see image below). I tried reproducing the problem but it seems to be VERY random. ... sometimes it goes through 3-4 cycles max and changes the wallpaper and then gives the error, sometimes after attempting first cycle it gives the error.
I have a t-mo Wing running WM6 , any suggestions?
thanks
Click to expand...
Click to collapse
salahnajm said:
Hey I've been using it for a while; sometimes it works smts it gives an error (see image below). I tried reproducing the problem but it seems to be VERY random. ... sometimes it goes through 3-4 cycles max and changes the wallpaper and then gives the error, sometimes after attempting first cycle it gives the error.
I have a t-mo Wing running WM6 , any suggestions?
thanks
Click to expand...
Click to collapse
Hmm, I'm sorry this error occurs. I havent seen it on my device (also a Wing WM6). I tried changing the way its inserted into the Notification Queue, but that was having a problem and it wasn't loading right. I changed it back to the original way it was working and I'm going to work on this issue and see if it happens to me.
hey chris.wilcox..i dont think your zip work is there another link..thank
chris.wilcox said:
Hmm, I'm sorry this error occurs. I havent seen it on my device (also a Wing WM6). I tried changing the way its inserted into the Notification Queue, but that was having a problem and it wasn't loading right. I changed it back to the original way it was working and I'm going to work on this issue and see if it happens to me.
Click to expand...
Click to collapse
any news?
thanks
godson408 said:
hey chris.wilcox..i dont think your zip work is there another link..thank
Click to expand...
Click to collapse
I just tried to download it and it worked just fine. Is anyone else having that problem? I'll reupload it just to be safe.
salahnajm said:
any news?
thanks
Click to expand...
Click to collapse
How often do you have it changing your wallpaper? I have mine set to every 4 hours, i ran it for about a day with it changing every 30 min, I've never seen that error. do you have the latest MortScript? I'm running v4.1. Do you have MortScript installed to your device memory?
yes I have mortscript version 4.1 on my device memmory. is there a way to know if and which script is running? ill try it again and see if it works and what happens (i have a feeling im clicking on the script several times, could that b the reason?)
chris.wilcox said:
I just tried to download it and it worked just fine. Is anyone else having that problem? I'll reupload it just to be safe.
Click to expand...
Click to collapse
i tired downloading it and it said that it a wrong file... it said i have to run it first sorry man..for the inconvenienced..if you can have a mirror of different link it would awesome thank
salahnajm said:
yes I have mortscript version 4.1 on my device memmory. is there a way to know if and which script is running? ill try it again and see if it works and what happens (i have a feeling im clicking on the script several times, could that b the reason?)
Click to expand...
Click to collapse
That could definitely be the problem. The script could take a while to run depending on the number of files in the folder you have. the script runs in the background and doesn't have any notifications pop up cause its supposed to change the wallpaper by itself.
You could check if its running by making another quick script with:
Code:
If(ScriptProcExists("S2Us_Wallpaper.mscr" eq TRUE)
Message("Script its running")
EndIf
godson408 said:
i tired downloading it and it said that it a wrong file... it said i have to run it first sorry man..for the inconvenienced..if you can have a mirror of different link it would awesome thank
Click to expand...
Click to collapse
I just tried it again and it seems to be working fine. Can you download other files in this forum? I don't have any places to mirror the file.
chris.wilcox said:
I just tried it again and it seems to be working fine. Can you download other files in this forum? I don't have any places to mirror the file.
Click to expand...
Click to collapse
yo chirs...maybe a dumb question..on the zip is there this description on that file...there nothing on the zip but this page...is that it or is there like some thing i can download...like a mortscript ... i really new to this...i have the slide 2unlock pro...it work find like it better then the A_C s2u2...
# MortScript by chis to
# randomly choose a wallpaper for S2U2
# from the a folder
Removenotifications("\My Documents\S2U2_Wallpaper.mscr")
Path = "\Storage Card\My Documents\pics\*"
#time to wait in minutes
ChangeTime = 240
If(ProcExists("s2p.exe") eq False)
i=1
ForEach picturefile in files {Path}
array=picturefile
i=i+1
EndForEach
n=MaxIndex(array)
x=timestamp()
tp=substr(x,9,2)
z=substr(tp,2,1) & substr(tp,1,1)
r=z*n/100
y=part (r,".",1)+1
randompic = array[y]
x=timestamp()
tp=substr(x,9,2)
z=substr(tp,2,1)
r=z*n/100
y=part (r,".",1)+1
randompicL = array[y]
RegWriteString("HKCU", "\Software\A_C\S2U2\", "Wallpaper", randompic)
RegWriteString("HKCU", "\Software\A_C\S2U2\", "WallpaperL", randompicL)
Run("\Program Files\S2U2\iLock2.exe","-refresh")
#Message(randompic&"^NL^^NL^"&randompicL)
#Wait for at time with a few extra seconds for next randomization
RunAt(timestamp() + 60*ChangeTime + y,"\My Documents\S2U2_Wallpaper.mscr")
Else
RunAt(timestamp() + 60*ChangeTime + y,"\My Documents\S2U2_Wallpaper.mscr")
EndIf
Exit
godson408 said:
yo chirs...maybe a dumb question..on the zip is there this description on that file...there nothing on the zip but this page...is that it or is there like some thing i can download...like a mortscript ... i really new to this...i have the slide 2unlock pro...it work find like it better then the A_C s2u2...
Click to expand...
Click to collapse
The MSCR file that you opened and copied the code from is the MortScript. You have to have MortScript installed in order for it to run, though it won't help you much, its designed to work for S2U2 by A_C, not the other one.
Could anyone tell me if a script like this one could work for changing the wallpaper of the home screen as well? I am new to the MortScript world but it seems like it would just need a few adjustments to the code but I can't get it to work.
Any help?
Installation error ..MortScript to change the S2U gif Picture
hi frnds...can u help me out ...
Ihv got Atom Life Wm6 ....installed mortscript 4.1.
copied the file s2u2_Wallpaper.mscr to my documents ....
then as clicked the file ..an error came ..up .....cudnt understand...
.. ihv attached the error ...pls ..let me ....
ii realy need tis utility .....am waitin
tc
I'm getting crazy over here...
from one moment my G'reloc does give me errors when applying.
It says:
Can not open file C:\Kitchen\SYS\***\***
*** = a different map/file each time
I tried different G'Reloc.exe files and used different SYS-folders (even ones that worked before without any problems)
Can not cook roms anymore because they will not boot somehow...
Please help me with this weird error..
What are the files it's trying to access?
Also check out the IRC room they have, if it's still up at least.
TheChampJT said:
What are the files it's trying to access?
Also check out the IRC room they have, if it's still up at least.
Click to expand...
Click to collapse
It's a different file each time....beats me...
But often it is one of the bluetooth related files....
Maybe the files you downloaded were corrupted. Try manually replacing the files, or just uninstall and reinstall the kitchen.
TheChampJT said:
Maybe the files you downloaded were corrupted. Try manually replacing the files, or just uninstall and reinstall the kitchen.
Click to expand...
Click to collapse
Ok I know a little bit more...:
I formatted my laptop and did a clean install of windows...
After that g'reloc worked again.
I installed all programs I always use on my pc again.
And today when I used G'reloc again I get the same error each time. Even if I use different locations or diffirent SYS folders (also ones I know they work!)
Which program or setting interacts with G'reloc???
Merten i don't use that program because i don't know what it does.
But i tryed to open it but i think i got the same error as you got.
Is it something like this: cannot open file (root\dir\imageinfo.bin).
And then you only have one option to click the ok button (this will exit the program)?
Know i tryed some other g'reloc programs what i got and the all gived me the same error pointing to the imageinfo.bin and then give me one option to click the ok button.
But there was one g'reloc program what did work and gived me no error.
I send a email to you with g'reloc.exe so it could be that it will give your virusscan some trouble because it is a .exe file I hope it will work for you.
I will back in some hours so i can't respons to your questions so fast.
menomenic said:
Merten i don't use that program because i don't know what it does.
But i tryed to open it but i think i got the same error as you got.
Is it something like this: cannot open file (root\dir\imageinfo.bin).
And then you only have one option to click the ok button (this will exit the program)?
Know i tryed some other g'reloc programs what i got and the all gived me the same error pointing to the imageinfo.bin and then give me one option to click the ok button.
But there was one g'reloc program what did work and gived me no error.
I send a email to you with g'reloc.exe so it could be that it will give your virusscan some trouble because it is a .exe file I hope it will work for you.
I will back in some hours so i can't respons to your questions so fast.
Click to expand...
Click to collapse
Thanx man for the effort. But I did not receive a thing... did you mail to:
[email protected]?
If your back maybe you can upload to rapidshare?
Thanx anyway!!
Well, I came across two things in PPCGeeks forum. People reported errors when they were running G'reloc on FAT32 en fixed it by changing to NTFS.
The other thing was that people reported a fix by just disabling their antivirus program. This might explain why it worked before you started installing all your programs on a clean windows install. I hope it works for you as well because I really like your roms
Maart84 said:
Well, I came across two things in PPCGeeks forum. People reported errors when they were running G'reloc on FAT32 en fixed it by changing to NTFS.
The other thing was that people reported a fix by just disabling their antivirus program. This might explain why it worked before you started installing all your programs on a clean windows install. I hope it works for you as well because I really like your roms
Click to expand...
Click to collapse
WOOHOOOO!!!! the Virusscanner was the problem!!!! I use kaspersky for a year but probably since a recent update it messes up g'reloc....
I will be cooking again.....!!!!
Thanks for the great tip!!!!!
Next time, please post questions in the Q&A section.
thank you
I use WLM 10.6.0053.1000 and somehow my emoticon screen going weird like in the screenshot... I reinstalled, redownloaded from live site but seems like the emoticon won't show up for unknown reason.
I tried to check if there is any missing files but all files are OK.
Registry check also OK.
I'm using WM6.1 official v1.77 i-Mate 9502.
Please help me how to restore those emoticons....
Anyone? No one know the solution?
Arghhhh.... No answer and no one can answer.... >,<
Seems like the files are missing. Where did you install it, on the device, flashdisk or storagecard? I'd browse for the files first and see if I could find them.
Btw, I think this post might get moved since it aint really a post that belongs in this forum
Umm, maybe but I don't know what files are required to display that emoticon.
Yesterday I reinstalled the WLM (downloaded from live site http://mobile.microsoft.com/live/en-us/mobile/default.mspx).
For installation, it didn't give any option, it's all automated and installed in the device (precisely in the Windows folder).
But FYI, I checked the installation using SKTools and Pocket Mechanic, the installation is OK..
No files missing and registry are intact. Maybe other files (the system files) are missing? or some registry keys are missing?
Thanks for your help... ^^
I'll be waiting for your info for restoring the emoticon... ^^
Yup, sorry for posting in the wrong subforum. Moderators,please help me to move this thread to correct subforum. Thanks.. ^^
Crescendo Xenomorph said:
Umm, maybe but I don't know what files are required to display that emoticon.
Yesterday I reinstalled the WLM (downloaded from live site http://mobile.microsoft.com/live/en-us/mobile/default.mspx).
For installation, it didn't give any option, it's all automated and installed in the device (precisely in the Windows folder).
But FYI, I checked the installation using SKTools and Pocket Mechanic, the installation is OK..
No files missing and registry are intact. Maybe other files (the system files) are missing? or some registry keys are missing?
Thanks for your help... ^^
I'll be waiting for your info for restoring the emoticon... ^^
Yup, sorry for posting in the wrong subforum. Moderators,please help me to move this thread to correct subforum. Thanks.. ^^
Click to expand...
Click to collapse
try this one
dannyedilber said:
try this one
Click to expand...
Click to collapse
Tried just now but still same... only version in about page is different... T,T
Thanks for helping...
Seems strange... I checked all the system files in Windows folder, none missing/replaced by files with same name...
Maybe the registry?
Waiting...
And here we go... No one knows about this problem...
No answer as well...
Seems that none of developers here able to solve this... Or they don't know anything about this issue...
Up! Anyone here can resolve this? Or ppl here can't even solve small bug like this?
Useless to ask here... =,="'
bump =,="'
Please upload here your 10.6.0053.1000 cab. I have a look of it.
I just install the 10.7.xxx available from microsoft's site and still like in the first post. T,T
Do I need to upload the latest WLM from Microsoft's site?
And thanks for your help...
And I think, it might be something from registry's missing (maybe something in HKEY_Classes_Root)....
If I do HardReset, all is solved, but it's pain for me to reinstall all apps and do re-setting all things inside... >,<
Sorry I need the 10.6.0053.1000 cab before I can help you. It`s not on the windows side. Please upload it here. This was the first cab that you install or was in the rom and I must test it. No cab - Sorry no help.
Wait, I must search the cab file first. Because I already overwrite it with new one.
And the old one that came with my ROM is v10.6.0034.0800.
The v10.6.0053.1000 I downloaded it from Microsoft's site also. And I will try to recover that installation file from my harddisk.
Hi Everyone,
I'm hoping for a bit of advise please..
(I have searched, but I've found nothing I can get working)
I've (very) recently started palying with cooking my own ROM(s). I've managed to dump, reconstruct and successfully flash a couple back to my phone just to check I've got the very basics right in my kitechen and I seem to have.
I've been getting on OK removing packages too, so I can slim ROMs down etc...
The trouble I've found is that when converting my own .CABs to packages (as described in the great guides round here) using the package converter, I can add them into my kitchen just fine. Unfortunately, when I flash my phone with the resulting ROM, there's no signs of what I've tried to add.
Could anyone suggest what I might be missing please?
I'm also hoping to figure out how to set my own options (create email accounts, set ringtones, the normal customization anyone might do after a reset) so they're good to go after a hard rest, any pointers on this would be greatly appreciated too!
Thanks a lot!
'tunes
using package convector make the OEM, then just drag the new folder on to package rebuilder and use that EXT to cook
also next time plz mention the kitchen ur using, coz other wise we are left guesing what the problem is
agent_47 said:
using package convector make the OEM, then just drag the new folder on to package rebuilder and use that EXT to cook
also next time plz mention the kitchen ur using, coz other wise we are left guesing what the problem is
Click to expand...
Click to collapse
Thanks a lot for the pointer...
I'd got as far as the first bit already...but thats the first mention I've seen of a 'package rebuilder'.
...and I'm giving it a go right now.
'tunes
Well, thats got an app or three installed...thanks a lot for pointing me in the right direction.
Unfortunately, I can't get the package to create me a start menu menu icon for the apps I've converted from .CABs. I think I've found the right settings in the package creator, but I don't get whatever icon(s) I set up.
any thoughts on this last bit please?
oh,and I'm using 'Ervius Visual bepe's kitchen'
thanks again,
'tunes
hello chef central
i have two problems with rebuilding my kitchen
the first problem is when i go to file explorer and choose a page where you could scroll down and reached the lowest point it went a little further and then bounced back to the end(hope you get what i mean as i cant phrase it better)
i lost my kitchen due to a faulty hard drive so i am rebuilding it and now i lost that option:S
im using the same tweaks as i had a backup of my regtweaks so that aint the problem
im also using the same htcscroll package as the rom where it worked so that aint the problem either i think
does some one know where to look or what to change to make this happen again
the second problem is automated time and date
when i cook a clean rom(with all tweaks in it) i get oobe and when thats finished it gets me to the homescreen
within a minute it downloads the date/time and weather data
when i cook a full with visual mods it doesnt work anymore:s
so im guessing its a manilla file that is holding back on it
how is it possible that a manilla file prevents to download date/time settings? and does some one has a idea wich file it could be?
edit: and the last question
when i create a dutch full rom it says it has 645 modules and when i make the same packages in wwe it says 636 modules:S
there arent any modules hidden in language packs right?
edit2: found the difference in modules
in the syslanguages the wwe has less files then the nld
someone know a explenation why its this way as everything works like it should in wwe and you wouldnt think it would if things are missing:s
you are just excellent...you provided answer for your own question!
Seriously, I am glad you solved it though..
ai6908 said:
you are just excellent...you provided answer for your own question!
Seriously, I am glad you solved it though..
Click to expand...
Click to collapse
new questions on first post
bumperdiebump
miniterror said:
hello chef central
the second problem is automated time and date
when i cook a clean rom(with all tweaks in it) i get oobe and when thats finished it gets me to the homescreen
within a minute it downloads the date/time and weather data
when i cook a full with visual mods it doesnt work anymore:s
so im guessing its a manilla file that is holding back on it
how is it possible that a manilla file prevents to download date/time settings? and does some one has a idea wich file it could be?
Click to expand...
Click to collapse
I am also interested in the answer of this problem..
c_shekhar said:
I am also interested in the answer of this problem..
Click to expand...
Click to collapse
to come back to my own question i think for the date/time thing i whas to quickcause i have seen it working now a couple of times on my full rom:-o
so i think a manilla file wont stop it
i thought it whas kinda starnge as timezonefix package dont have manilla files in it
i thought it maybe whas a manilla file as i have transparancies for date and calander things on the homescreen and thats why i thought that maybe whas the problem
i still havent found the problem for th bouncing at the end of a list when scrolling in the fle explorer
i do noticed that when i hold a sec and then try it i have the bounceing thingie:S
probably a reg setting not good
can someone tell me wich package is for file explorer?
i search in the kitchen directory for file explorer doesnt give any results
hmmm nobody can tell me wich package is for file explorer?
still busy with the bounce when reaching the end of a list in file explorer
i have it everywhere except there