Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

RE: macosx and unix paths (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: SetFocus and REALSetControlFocus
Next thread: CW 9


Looking for sample code of default param   -   GOLD
  RE: macosx and unix paths   -   GOLD
   macosx and unix paths   -   GOLD
    CW 9   -   Bruce Wheaton
   Re: macosx and unix paths   -   Joseph J. Strout
   Re: macosx and unix paths   -   Alexander Cohen

RE: macosx and unix paths
Date: 11.04.04 09:49 (Sun, 11 Apr 2004 02:49:39 -0600)
From: GOLD
Haven't gotton to the 5.5.2beta yet (home of ShellPath i believe).
But I'll check it out.

Thanx,
Steven

-----Original Message-----
From: <email address removed>
[mailto:<email address removed>]On Behalf Of Alexander
Cohen
Sent: Saturday, April 10, 2004 16:01
To: REALbasic Plugins
Subject: Re: macosx and unix paths

Could you use the dynamic API to get access to Folderitem.ShellPath and
just return that? Seems to me it should work, right?

macosx and unix paths
Date: 09.04.04 22:58 (Fri, 9 Apr 2004 15:58:56 -0600)
From: GOLD
Greetings list...
I'm trying to write a simple plug-in that'll take a folder object and return
a string that has unix-style path to the object for use by shell commands
and other command line options that use the Mac OS X unix paths.
My problem is that I've encountered files/folders that have unusual
style characters (in particular the trade-mark symbol [option-2 from the keyboard])
and was wondering in anyone knows the 'trick' or process of escaping out the
characters so that my plugin would return a string to an object that can be used
by the shell class.
Thanks in advance,
Steven



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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: macosx and unix paths
Date: 10.04.04 20:51 (Sat, 10 Apr 2004 14:51:52 -0500)
From: Joseph J. Strout
At 3:58 PM -0600 4/9/04, Smith, Steven (GOLD) wrote:

> I'm trying to write a simple plug-in that'll take a folder object and return
>a string that has unix-style path to the object for use by shell commands
>and other command line options that use the Mac OS X unix paths.

Have you considered simply using one of the existing solutions (such
as Chad McQuinn's free "MFile" plugin, part of the OS X Utilities
plug-in)?

Cheers,
- Joe

Re: macosx and unix paths
Date: 10.04.04 23:01 (Sat, 10 Apr 2004 18:01:29 -0400)
From: Alexander Cohen
Could you use the dynamic API to get access to Folderitem.ShellPath and
just return that? Seems to me it should work, right?