Re: POSIX paths query
Re: POSIX paths query
- Subject: Re: POSIX paths query
- From: Patrick Mast <email@hidden>
- Date: Wed, 8 Oct 2003 18:08:40 +0200
hallo:
set temp to "Server:Master Database:to be Databased:AUGUST IMAGE
UPLOADS - No17:layouts:161999-Image.eps"
set test to quoted form of POSIX path of (temp)
So it exists in HFS format but not in POSIX format. Can anyone explain
to me why that is and how to stop it? I need to check if the file
<POSIX path of> will already check if the file exists. thats why you
will get an error message if you want to make the HFS formated path
of a file that does not exist to an POSIX formated path.
this might be test for an existing file:
on checkforfile(theFilePath)
try
return POSIX path of theFilePath
on error
set theFilePath to choose file
end try
end checkforfile
i hope this helps!
regards
patrick
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.