I need to run the Automator action "Ask for Photos" from
System/Library/Automator/Ask for Photos.action on Mac OSX.4 Tiger.I did
not find much supporting document using Objective-c.

I added following codes  for running the action.

NSDictionary *dict=[NSDictionary infoDictionary];
aAct=[[AMBundleAction alloc] initWithDefinition:dict fromArchives:YES];

select=[[AMBundleAction alloc] runWithInput:nil fromAct:act error:&dr];

Was this typed into mail incorrectly, or are you really sending a message named runWithInput:fromAct:error: (which as far as I can tell doesn't exist) to an alloc'd-but-not-inited object?

Assuming the former, it's a bit tough to tell someone why their code isn't working when they're not actually showing you the code that isn't working.

G
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to