• 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
iPhoto scripting.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iPhoto scripting.


  • Subject: iPhoto scripting.
  • From: John Clayton <email@hidden>
  • Date: Sun, 29 Jan 2006 20:28:36 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there a tomb of information about iPhoto scripting?

I have version 6 of iPhoto and I've always (like, forever) wanted a way of scripting the movement of folders into other folders. One of my goals would be to have a script that does the following:

tell application "iPhoto"
	set thealbum to album named "2005_01_01_walking"
	new album name "Ted"
	set newalbum to album named "Ted"
	iplm add newalbum to thealbum
end tell

in other words - to move the album 'Ted' under the album '2005_01_01_walking'.

at present - this script dies with a 'scripting error' failure. More exactly: "iPhoto got an error: NSReceiversCantHandleCommandScriptError"

Presumably, since the 'children' list of a folder is r/o it won't let me do this - which is a shame. I'd like to replicate a file-tree structure in iPhoto.

If anyone has some tips for me, it'd be greatly appreciated.

Thanks.

John Clayton
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFD3Rdnp5OOqU+VYFgRAqvCAJ9VU4MtT92b0g/axZKhk9JibRElYQCgqMj1
gC4sC93YS4seEX3vDkqj76o=
=DjYy
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Tell Statement Problem
  • Next by Date: Re: Search Folder Hierarchy
  • Previous by thread: Re: Force quit filemaker and reopen a file
  • Next by thread: indexInListOfItem(aList, aItem)
  • Index(es):
    • Date
    • Thread