• 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: different launch methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: different launch methods


  • Subject: Re: different launch methods
  • From: Damien Pacaud <email@hidden>
  • Date: Tue, 7 Oct 2003 09:20:35 +0200

Well I need this because, when I open he file through the menu, it should diplay and when i drag and drop it on the icon, it should open a wizzard of sme kind...;
Those are the specs for the app, and there is not much i can do about it...
I found a "workaround" but don't like it very much...

Le mardi, 30 sep 2003, ` 13:06 Europe/Paris, M. Uli Kusterer a icrit :

At 10:12 Uhr +0200 30.09.2003, Damien PACAUD wrote:
Hi list,
Is there a way to tell the difference (programatically) between :
-the launch of a document based app and the clicking the open button in the menu
AND
-the launch of a document based app when a file is dragged onto its icon ?

Why do you need to know? The entire advantage of this approach is that no matter how the user opens a file, it will open using the same code. It ensures consistency.

What is it that you're trying to do? There may be a better way to do this than destroying consistency in file opening.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: different launch methods
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: different launch methods
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Re: Strategies for fitting an NSWindow to its content?
  • Next by Date: Re: NSTask
  • Previous by thread: Re: launching 2 same applications
  • Next by thread: Re: different launch methods
  • Index(es):
    • Date
    • Thread