• 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: how do I make sure a certain app opens a file without using openFile: withApplication:?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how do I make sure a certain app opens a file without using openFile: withApplication:?


  • Subject: Re: how do I make sure a certain app opens a file without using openFile: withApplication:?
  • From: "Alan Smith" <email@hidden>
  • Date: Fri, 30 Jun 2006 10:37:10 -0400

Sherm: Yes, that's the way I'm doing it now.

Glenn: That seems to have the same affect as NSWorkspace's openFile:
withApplication:.

:(

Thanks guys but I'm afraid the problem is still unsolved.
Alan

On 6/29/06, Sherm Pendley <email@hidden> wrote:
On Jun 29, 2006, at 3:05 PM, Alan Smith wrote:

> Hi everyone,
> I need to open a pilot for the EV series without using openFile:
> withApplication:. If I use that it doesn't work properly, if I use
> openFile: it works great. The only problem is that I need to make sure
> that the specified copy of the EV opens the pilot. I have my app copy
> the EV game and manage the pilots and plugins for it. So I want my
> app's copy of the EV to open, not the another copy of the EV that
> could be on disk somewhere.
>
> How do I open a file with an app without using openFile:
> withApplication:?

Have you tried passing the full path to your app bundle as the second
parameter?

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org




--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"Don't waste your life doing things others have already done."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: how do I make sure a certain app opens a file without using openFile: withApplication:?
      • From: Greg Herlihy <email@hidden>
References: 
 >how do I make sure a certain app opens a file without using openFile: withApplication:? (From: "Alan Smith" <email@hidden>)
 >Re: how do I make sure a certain app opens a file without using openFile: withApplication:? (From: Sherm Pendley <email@hidden>)

  • Prev by Date: RE: Compositing to custom view in Cocoa
  • Next by Date: [OT?] Problem with keyboard layout states (bug?)
  • Previous by thread: Re: how do I make sure a certain app opens a file without using openFile: withApplication:?
  • Next by thread: Re: how do I make sure a certain app opens a file without using openFile: withApplication:?
  • Index(es):
    • Date
    • Thread