Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set photo titles to picture capture date in iPhoto' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set photo titles to picture capture date in iPhoto
Authored by: mastige on Mar 11, '10 08:08:09AM
The script will not compile for me. This is the error:
A command name can’t go after this “my”.
The line that causes this is:
set themonth to my format(the month of thedate as number)


[ Reply to This | # ]
Set photo titles to picture capture date in iPhoto
Authored by: robg on Mar 11, '10 03:28:24PM

I'm not sure what to say: it definitely compiled fine here on 10.5, and I just did it again by selecting the script as it appears in the actual hint, and it worked fine again.

-rob.



[ Reply to This | # ]
Set photo titles to picture capture date in iPhoto
Authored by: mastige on Mar 11, '10 04:39:51PM

If the script will not compile for you, then delete 'my format' from the five lines in which it appears. It works fine then. I had trouble finding documentation on 'format', so cannot explain the compile error.



[ Reply to This | # ]
Set photo titles to picture capture date in iPhoto
Authored by: homeshire on Mar 13, '10 03:56:31AM

this definitely did the trick on 10.5 .

happy to have it working, but now that I do, I should say that I agree with the comment that the batch change function within iPhoto is a more robust tool for doing this. the only advantage to this script (other than it's cool and works) is that I don't have to think of the date if that's what I truly want for the title. it automagically assigns to the photo as title.

thanks for the write-up.



[ Reply to This | # ]