• 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: More questions about scripting iPhoto
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More questions about scripting iPhoto


  • Subject: Re: More questions about scripting iPhoto
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 26 Feb 2008 09:10:05 -0700

On Feb 25, 2008, at 9:11 PM, Mark J. Reed wrote:

repeat with tag in keywords
		if tag's name is desiredTagName then
			set desiredTag to tag
		end if
	end repeat

Instead of a loop, how about this:

if desiredTagName is in name of keywords then set desiredTag to desiredTagName

-- Michelle

--
13.1  Because I can

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >More questions about scripting iPhoto (From: Chris Glowacki <email@hidden>)
 >Re: More questions about scripting iPhoto (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Authentication Not Persisting
  • Next by Date: What's wrong with this call to zip?
  • Previous by thread: Re: More questions about scripting iPhoto
  • Next by thread: Excel Range Crash
  • Index(es):
    • Date
    • Thread