Say I have a UNIX path to this directory: "/usr/local/bin"
How can a create an RB folderitem pointing to this directory from the
UNIX path?
I could parse the UNIX path and do .child, .child, but what root
parent do I start from?
Thx,
Peter.
--
-------------------------------------------------------------------------------
Peter K. Stys, MD
Professor of Medicine(Neurology), Senior Scientist
Ottawa Health Research Institute, Div. of Neuroscience
Ottawa Hospital / University of Ottawa
Ontario, CANADA
tel: (613)761-5444
fax: (613)761-5330
http://www.ohri.ca/profiles/stys.asp
-------------------------------------------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
From Fri 27 Apr 2007 16:59:20 -0600
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
id 2D8392274112; Fri, 27 Apr 2007 15:59:30 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on
www.realsoftware.com
X-Spam-Level:
X-Spam-Status: No, score=-2.9 required=4.5 tests=ALL_TRUSTED,AWL,BAYES_00,
NO_REAL_NAME autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
by xmail.realsoftware.com (Postfix) with ESMTP id 64A442274106;
Fri, 27 Apr 2007 15:59:29 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP id 1DDD2265993;
Fri, 27 Apr 2007 17:59:24 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from mail.verex.com (mail.verex.com [66.116.103.197])
by lists.realsoftware.com (Postfix) with ESMTP id DE324265988
for <realbasic-nug at lists dot realsoftware dot com>;
Fri, 27 Apr 2007 17:59:19 -0500 (CDT)
Received: from [66.116.103.197] (localhost [127.0.0.1])
by mail.verex.com (Postfix) with SMTP id BC8A174072A
for <realbasic-nug at lists dot realsoftware dot com>;
Fri, 27 Apr 2007 16:59:20 -0600 (MDT)
Date: Fri, 27 Apr 2007 16:59:20 -0600
Subject: Re: making a folderitem from a UNIX path
From: joe at strout dot net
To: realbasic-nug at lists dot realsoftware dot com
In-Reply-To: <77124270704271553g3dd8f782y86471ac47e38c70b at mail dot gmail dot
com>
X-Mailer: VerEx Email Gateway
Message-Id: <20070427225920 dot BC8A174072A at mail dot verex dot com>
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com
On Apr 27, 2007, at 22:53 UTC, Peter K. Stys wrote:
> How can a create an RB folderitem pointing to this directory from the
> UNIX path?
f = GetFolderItem( path, FolderItem.PathTypeShell )
This is off the top of my head but should give you the right idea.
Best,
- Joe
--
Joe Strout -- joe at strout dot net
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|