Re: File exists on a posix path
Re: File exists on a posix path
- Subject: Re: File exists on a posix path
- From: Adam Bell <email@hidden>
- Date: Fri, 10 Feb 2006 15:38:30 -0400
set y to POSIX path of quoted form of "/user/sbin/installer"
exists y --> true, in my case
On 2/10/06, Charles E. Heizer <
email@hidden> wrote:Hello,
I really don't use Applescript very offten but I have a need right
now. I would like to know how to do a file exists on a posix file
example:
set y to "/usr/sbin/installer"
set a to POSIX file y
if (the file a exists) then
display dialog " already exists"
end if
Thanks!
- charles
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (
This email sent to email@hidden
--
Some minds remain open long enough for a truth to both enter and leave without processing.
_______________________________________________
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