• 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
make new custom tag in Aperture 2.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make new custom tag in Aperture 2.0


  • Subject: make new custom tag in Aperture 2.0
  • From: Irwin Poche <email@hidden>
  • Date: Fri, 15 Feb 2008 19:03:04 -0600

Good evening,

I'm trying to add a custom tag to an image in Aperture 2.0.  I've looked all over the internet and find no examples what so ever of AS and Aperture 2.0.

I have a few guesses that produce one of two different errors - but no idea how to actually make this work.  Any ideas ?


tell application "Aperture"
copy selection to theSel


repeat with curImg in theSel


class of curImg 
            --image version 


-- make new custom tag at curImg with properties {name:"NewTag", value:"New Tag's Value"}
-- set aNewTag to make new custom tag with properties {name:"NewTag", value:"New Tag's Value"}
-- Aperture got an error: Can’t make or move that element into that container.



-- make new custom tag at end of curImg with properties {name:"NewTag", value:"New Tag's Value"}
-- make new custom tag at end of (curImg) with properties {name:"NewTag", value:"New Tag's Value"}
-- make new custom tag at end of custom tags of curImg with properties {name:"NewTag", value:"New Tag's Value"}
-- make new custom tag at end of curImg's custom tags with properties {name:"NewTag", value:"New Tag's Value"}
--Aperture got an error: Can’t make application "Aperture" into type specifier.


end repeat
end tell

 _______________________________________________
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

  • Prev by Date: Re: Coercing strings to symbols
  • Next by Date: Re: Coercing strings to symbols
  • Previous by thread: Re: Broken date math on AppleScript 2.0
  • Next by thread: iCal and broken 'event whose' problem
  • Index(es):
    • Date
    • Thread