Beware of potential Nil in:
f = App.ExecutableFIle.Parent.Parent.Child("Resources").Child("help")
Both folders can not exists (Resources and help) ; also, be sure of the help 'h' case...
HTH, Emile
Subject: Re: making references to folder and files in packages on Mac From: Jos? Andr?s <[EMAIL PROTECTED]> Date: Tue, 06 Jun 2006 16:08:56 -0400 Thanks Leonardo for your help. I just resolved my problem with your answer. Thanks a lot Regards, Jose Andres At 03:44 p.m. 06/06/2006, you wrote:On Jun 6, 2006, at 2:58 PM, Jos=E9 Andr=E9s wrote:I have seen many application made in packages for Mac/OS, that they have many folders and files inside it. My question is: how can I build my app with this kind of package?, and how can I refer to those folderitems?.Choose your build target as Mac OSX only (Project -> Build settings...) An example of how to reference a file: f =3DApp.ExecutableFIle.Parent.Parent.Child("Resources").Child("help")
_______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
