Hi Gabriel, No, you cannot.
Scripting Bridge works by sending messages back and forth with a target process. If there is no process running, there isn't anything to communicate with. A scripting dictionary does not (and cannot) include information about how to access the on disk data iPhoto uses to represent your library. It only contains information about how to ask the iPhoto process for information. There may be other ways to get at what you want (iPhoto has an XML file that describes the library - I don't think it's for third party use, but I could be wrong), but Scripting Bridge will require launching the app. -Ken On Fri, Jan 14, 2011 at 10:10 AM, Gabriel Zachmann <z...@tu-clausthal.de>wrote: > My question is: can I get a scripting bridge handle on iPhoto without > making iPhoto launch? > And can I retrieve a list of iPhoto albums and a list of images in an album > without making iPhoto launch? > > Right now, I am using > iPhoto_ = [[SBApplication > applicationWithBundleIdentifier:@"com.apple.iPhoto"] > retain]; > but that fires up iPhoto, which can be a bit slow. > Also, as a user, I find it a bit disturbing that iPhoto has been launched > by another program. > > > Best regards, > Gabriel. > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/kenferry%40gmail.com > > This email sent to kenfe...@gmail.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com