Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!cs.cmu.edu!Eric.Thayer From: Eric.Thayer@cs.cmu.edu (Eric H. Thayer) Newsgroups: comp.sys.next Subject: Re: Can an App launch itself? Message-ID: <9562@pt.cs.cmu.edu> Date: 8 Jun 90 01:33:13 GMT Organization: Carnegie Mellon School of Comp. Sci. Lines: 21 References:<11277@sdcc6.ucsd.edu> <11291@sdcc6.ucsd.edu> If you want the Workspace Manager to "know about" your application, you should use the open command in your string to system(). For example, system("open /NextApps/Terminal") as opposed to system("/NextApps/Terminal") If you want a cool tour of the AppKit, you could also create a Speaker and connect it to the Workspace Manager and then use the launchProgram:ok: method. You should look at the Speaker class doc. There is example code on how to connect a Speaker to an application. The trick to get a Speaker connected to the Workspace is to know what to pass to the NXPortFromName() call. So far, NXPortFromName(getenv("Workspace"), NULL) has worked for me. Replies may have NeXT attachments in them Phone: (412)268-7679