Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!apple!agate!ucbvax!DBNUAMA1.BITNET!VBRANDT From: VBRANDT@DBNUAMA1.BITNET Newsgroups: comp.sys.atari.st Subject: How to find out if a prg was called from the desktop? Message-ID: <8910280710.AA12956@ucbvax.Berkeley.EDU> Date: 28 Oct 89 07:10:46 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 27 X-Unparsable-Date: Thu, 26 Oct 89 14:03:03 SET Hello all, I remember that some months (or even years ago) there were some postings about how to detect whether a program was invoked from the desktop or from a shell (or any other program, for that matter). Could someone please either tell me how he/she does it, or point me to the Info-Atari16 digest where the original postings appeared? (Yes, I have saved ALL digests -- 20 MB of text :-) I'd like to write a C or assembler function that I can use to make life for desktop users easier, such as: if Desktop() Cconin(); u Any and all hellp is, as always, most welcome. ---------------------------------------------------------------------------- Bitnet: VBRANDT@DBNUAMA1 (will go away late '89) Volker A. Brandt UNM409@DBNRHRZ1 (soon) Angewandte Mathematik UUCP: ...!unido!DBNUAMA1.bitnet!vbrandt (Bonn, West Germany) ARPAnet: VBRANDT%DBNUAMA1.BITNET@CUNYVM.CUNY.EDU