Hi all,
I want to create a full page graphic that displays a new photo every 10 seconds.
I have a folder of 100 images labelled in numerical order (1.jpg, 2.jpg, etc). I know how to link these images to the scene, but I'm wondering how to generate a random number from 1-100 and assign that number to the picture to display it.
This is what I have so far, copied from another slide that was set up by my Ross instructor when we got the system:
dim picture as xpbaseobject
scene.getobjectbyname("IMAGE", picture)
dim path as string
path = "D:\MOOSE 2015\Images\SLIDESHOW"
if scene.iscopy then
picture.setvolatiletexturefile(0, path & text & ".jpg")
end if
Any help would be greatly appreciated!