Re: Paths & quoted form & do shell script
Re: Paths & quoted form & do shell script
- Subject: Re: Paths & quoted form & do shell script
- From: Martin Orpen <email@hidden>
- Date: Sun, 09 Oct 2005 11:51:36 +0100
- Thread-topic: Paths & quoted form & do shell script
on 9/10/05 10:01, Paul Berkowitz at email@hidden wrote:
> I suggest you ask for the class of each path. Also try reading the file as
> Unicode text, then compare.
They are both "strings".
Reading thePath as Unicode text will set the comparison flag to *true* but
still causes the same error when you "do shell script".
The problem must be with the original writing of the file. Writing a path as
string to a file seems to have given me more than I bargained for :-(
If I write the file using the shell by doing:
echo "/path/to/whatever" > /path/to/the/file
The script works as expected and I get what I wanted.
--
Martin Orpen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden