• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: loading the universal bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: "hooking" into another app
  • Next by Date: Re: Why should we set ivars to nil in dealloc?
  • Previous by thread: loading the universal bundle
  • Next by thread: [job posting] Senior OSX C++ Developer for Contract
  • Index(es):
    • Date
    • Thread