Re: Cycling through images in an image well
Re: Cycling through images in an image well
- Subject: Re: Cycling through images in an image well
- From: Shane Stanley <email@hidden>
- Date: Fri, 20 May 2011 09:43:56 +1000
- Thread-topic: Cycling through images in an image well
The cycling bit is just a matter of a timer that changes the image every
time it fires. Put the list of image names and a counter in properties, and
have the time increment the counter each time. Something like:
on timerFired_(theTimer)
tell imageView to setImage_(current application's NSImage's imageNamed_(item
theCounter of theNames))
set theCounter to theCounter + 1
if theCounter > (count of theNames) then set theCounter to 1)
end
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden