Welcome, Guest
Please Login or Register.    Lost Password?

Creating Random Month Images
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Creating Random Month Images
#4440
Creating Random Month Images 7 Years ago  
What I want to achieve is fairly straight-forward:

I have a set of twelve icons that I would like to use to identify each month (skiing for winter, tulips for spring - this sort of thing) - so far so good and completely feasible without scripting.

However, as staring at the same icon for a month can get boring, I would like to have multiple sets of images for each month that would be randomly loaded based on a trigger (on load, or every 24 hours,etc). How could I go about introducing a variable (call it %M) that would not only change based on the event trigger, but would also cause a refresh, to change the picture?
mmontoya
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4450
Re:Creating Random Month Images 7 Years ago  
There will be some improvements to the scripting support in the next version and it'll be at least possible to change the basic item properties (position, visibility, ...). However to be able to change the item periodically (or on startup) I'll have to implement some kind of callback mechanism and I'm not sure when I have time for it (it's not planned at least for the next release).
Rainy
Moderator
Posts: 5971
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4456
Re:Creating Random Month Images 7 Years ago  
Thanks Rainy,
You've done a great job so far - I look forward to upcoming releases!
mmontoya
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop