One of my desktop apps I need to know where the iPhoto Library is installed, programmatically. I do not want to pick it from predicted location (/Users/me/Pictures/iPhoto) since power user may have installed it somewhere else.
I'm developing app using Python and I guess Applescript might have way to figure out iPhoto location but I don't know how.
Why not simply...
set myPath to path to application "iPhoto"