• 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
Re: How can i do? ..... release 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can i do? ..... release 2


  • Subject: Re: How can i do? ..... release 2
  • From: "Sandeep Waghmode" <email@hidden>
  • Date: Fri, 04 Jan 2002 16:46:57 +0530
  • Organization: Tata Elxsi

You can use a code like this one:

tell application "Finder"
if "CompletePathNameOf theFileToBeSearched" exists then
<Do what you want>
end if
end tell

Eg:
tell application "Finder"
if "HardDisk:readme.rtf" exists then
Display Dialog "File Exists"
end if
end tell

Sandeep


rhyme wrote:

> How can i ask Finder if exist a file in a directory ??
> _______________________________________________
> 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: How can i do? ..... release 2
      • From: rhyme <email@hidden>
References: 
 >How can i do? ..... release 2 (From: rhyme <email@hidden>)

  • Prev by Date: How can i do? ..... release 2
  • Next by Date: Re: calling one procedure from with in another
  • Previous by thread: How can i do? ..... release 2
  • Next by thread: Re: How can i do? ..... release 2
  • Index(es):
    • Date
    • Thread