Testing for files and/or folders
Testing for files and/or folders
- Subject: Testing for files and/or folders
- From: Michelle Steiner <email@hidden>
- Date: Wed, 6 Mar 2002 12:55:51 -0700
When testing to see if a file or folder exists, do not use this
structure:
if exists (alias "diskname:foldername:filename")
The reason is that the compiler will attempt to resolve the alias at
compile time, and if it can't find it, it will display an alert.
Use "file" or "folder" instead of alias
--Michelle
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
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.