• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Testing for files and/or folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Testing for files and/or folders
      • From: "Serge Belleudy-d'Espinose" <email@hidden>
  • Prev by Date: Re: Scripting Palm Desktop
  • Next by Date: Re: Palm Desktop & Eudora
  • Previous by thread: Re: Distiller Joboptions
  • Next by thread: Re: Testing for files and/or folders
  • Index(es):
    • Date
    • Thread