PDA

View Full Version : MortScript to change the S2U gif Picture


JeckyllHavok
28th April 2008, 04:51 PM
Hey Folks,
I'm an absolute noOb in programming but I need a Script for MortScript.
The Script should do the following:

In S2U i can only set Jpg Images for a random change.
So, i would like to use Mortscript to

-copy .gif picture X from /StorageCard/My Pictures to /ProgramFiles/S2U/gfx/wallpaper.gif

-and after time X copy the file back and take another one.

I think the problem is that the wallpaper for S2U must be named as wallpaper but i can't have a folder on storage card with 20 or more wallpaper.gif files.
Is there the possibitity to use MortScript to rename the files to wallpaper.gif and later back to the old name (or maybe another name like 1, 2, 3 and so on.)

It would be great if someone could make such a script, an i'm sure that other people would like it, too.

chris.wilcox
29th April 2008, 03:58 PM
Hey, buddy,

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 :D
Attached 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.

To change the directory: edit Line 8
To change how often you want the images changed: edit Line 33

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 8, in theory ;)

Enjoy and pass it on to others!

- chis

lepsyfou
29th April 2008, 04:19 PM
thank you amigo :) it s cool idée

Flipside
29th April 2008, 06:35 PM
Hey, buddy,

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 :D
Attached 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.

To change the directory: edit Line 8
To change how often you want the images changed: edit Line 33

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 8, in theory ;)

Enjoy and pass it on to others!

- chis

This is really cool, thanks a lot :)

bruno r
2nd December 2009, 10:11 PM
In my p3600 the gif's does't animate.. what am i doing wrong? how do i use your tool?