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


Click here to return to the '10.4: A fix to force Spotlight to index iPhoto images' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: A fix to force Spotlight to index iPhoto images
Authored by: Mucho Grande on May 18, '05 10:28:00AM
I couldn't get any of these hints to help me with this. I had old photos, imported into 10.4, and Spotlight wouldn't find them. I found that removing the comment from a photo, selecting another photo, then coming back to it, would solve this problem. Once this was done, Spotlight would find the photo based on the comment. This could prove tedious with more than 3 photos, so I whipped up an Applescript to do it for me. This is my first crack at it, and I didn't find it as easy as I've been lead to believe, and I've done a little coding in my day. Anyhoo, if it isn't as neat as you would like, I apologise. It helped me out, I hope it helps you out. The time it takes depends on the size of your library. Enjoy.

-- A quick script to make your iPhoto comments searchable
-- in Spotlight.
--
-- All it does, is remove the comments of a file, and then
-- puts it back.
--
--
tell application "iPhoto"
	activate
	
	set edit_photos to (every photo of photo library album)
	repeat with edit_photo in edit_photos
		set photo_comment to comment of edit_photo
		set comment of edit_photo to ""
		set comment of edit_photo to photo_comment
	end repeat
end tell



[ Reply to This | # ]