Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!petunia!news From: ebostick@polyslo.CalPoly.EDU (Edward Bostick) Newsgroups: comp.sys.next Subject: Help with File Packages Message-ID: <26d31071.45fe@petunia.CalPoly.EDU> Date: 22 Aug 90 23:08:33 GMT Reply-To: ebostick@polyslo.CalPoly.EDU (Edward Bostick) Distribution: na Organization: Cal Poly State Univ,CSC Dept,San Luis Obispo,CA 93407 Lines: 35 I have an application and a manual for the application that I would like to put together in a file package. I have an icon that I would like to use to represent the file package. Do I use the Project Inspector panel in IB to associate the icon with the file package? Should the application name field be change? And, if I want to use make install, should the install directory field be changed? I have tried some variations of different app names and install dir names, but I had no luck. I can make a file package by creating a directory and giving it an extension of ".app", but I had no luck getting an icon associated with the file package. Once I have the file package put together I would like to be able to have the application use a function like getwd() to get the path name of application or the file package. As you guessed this path name would be used to open the manual located with the application. The function getwd() works with programs not under the control of the Window Manager. Those that are, return the path name of the users root directory. Is there another function that will do what I need or is there something that I'm doing wrong? Finally, once I have the path name I can open the manual which is a WriteNow document. This works, but WriteNow will create a new window along with opening the manual window. I feel that I must be doing something wrong with the messages that I'm sending. I have used openFile and openTempFile, both with the same results. I was wondering if the port that I opened from the WriteNow application using NXPortFromName was the problem. Thank you in advance for any help and/or advice. mail responses to: ebostick@polyslo.calpoly.edu