• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cycling through images in an image well
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Cycling through images in an image well (From: "John C. Welch" <email@hidden>)

  • Prev by Date: Cycling through images in an image well
  • Next by Date: Quartz Composer
  • Previous by thread: Cycling through images in an image well
  • Next by thread: Quartz Composer
  • Index(es):
    • Date
    • Thread