realbasic-nug
[Top] [All Lists]

Re: Path to executable rather than bundle on OS X

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Path to executable rather than bundle on OS X
From: Charles Yeomans <charles@declareSub.com>
Date: Thu, 12 Jun 2008 16:20:02 -0400
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <p06240828c47731050b44@[216.254.4.110]>
References: <p06240828c47731050b44@[216.254.4.110]>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On Jun 12, 2008, at 4:04 PM, Steve Upton wrote:


I recall that f=getFolderItem("") would, at one time, return the path inside OS X's bundle right to the executable file.

Then this got fixed... which I don't disagree with.

The question I have is... Is there *now* (RB 2007r4) a reliable way to get a path or folderitem inside the OS X bundle of my app? I am hoping for something I don't have to hard code as people (including me) may change the "name" of my app, hence the folder path....

anyone?


Try app.ExecutableFile.

Charles Yeomans

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>