realbasic-plugins
[Top] [All Lists]

Re: REALpathFromFolderItem and XCode

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: REALpathFromFolderItem and XCode
From: Brad Hutchings <brad at componentx dot com>
Date: Mon, 12 Feb 2007 12:45:01 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <B28753C9-40EE-4464-BBE2-AB62BD6608CB at componentx dot com> <448F6A54-C230-4E8A-9CE5-946F1E22DFD9 at realsoftware dot com> <5352E5FA-AF9F-4F24-B687-958CF91A5192 at realsoftware dot com> <01C5DE12-AB27-4CF0-9FF3-8D22FD61198A at mac dot com> <F5AA64F4-AB3C-4C9B-9FD2-11B3C5493DF8 at chaoticbox dot com>
Thanks Frank, Jon, and Rob. Problem solved.

-Brad

On Feb 12, 2007, at 11:41 AM, Frank Condello wrote:

You can check if a file exists by grabing the FSSpec with REALFSSpecFromFolderItem and running that through FSpMakeFSRef. Then use FSCreateFileUnicode to create the file when needed before calling FSRefMakePath. Not sure this is the sanest route, but if anyone wants an example check out the OpenFILEFromFolderItem function in the PNG Utilities source - there's also a read-only version in the ZZip Utilities source:
<http://developer.chaoticbox.com/realbasic_plugins.php>

Frank.

_______________________________________________
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>