Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[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:?



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to 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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.