Re: loading the universal bundle
Re: loading the universal bundle
- Subject: Re: loading the universal bundle
- From: Gregory Weston <email@hidden>
- Date: Mon, 14 Apr 2008 11:03:39 -0400
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 (email@hidden)
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:
This email sent to email@hidden