On Fri, 1 Feb 2008 18:52:28 +1000, Ian Wood wrote:
> Oops. Just discovered that the above function doesn't cope with file
> paths that contain any kind of quote mark.
>
> The following function should work better, escaping characters rather
> than putting quote marks around the whole path.
Her
On 1 Feb 2008, at 19:30, David Bovill wrote:
Thanks for this Ian. I've a couple of questions if not anything to
add...
- The applescript you start with I guess this deals with file
names on Mac that contain the "/" character for instance? What
exaclty does
"set tOut to POSIX path of t
Thanks for this Ian. I've a couple of questions if not anything to add...
- The applescript you start with I guess this deals with file
names on Mac that contain the "/" character for instance? What exaclty does
"set tOut to POSIX path of tPath" do?
- I use this command to escape a
On 1 Feb 2008, at 18:52, Ian Wood wrote:
replace "(" with "\" & ")" in tNewPath
Should of course be:
replace ")" with "\" & ")" in tNewPath
Ian
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, uns
On 28 Jan 2008, at 10:31, Ian Wood wrote:
function ijwAPLIB_MakeOSXShellPath tPath
put "set tOut to quoted form of POSIX path of tPath" into tScript
replace "tPath" with quote & revMacFromUnixPath(tPath) & quote in
tScript
do tScript as applescript
put the result into tNewPath
delete char 1 o