• 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
File exists on a posix path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File exists on a posix path


  • Subject: File exists on a posix path
  • From: "Charles E. Heizer" <email@hidden>
  • Date: Fri, 10 Feb 2006 11:31:40 -0800

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 (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: File exists on a posix path
      • From: deivy petrescu <email@hidden>
    • Re: File exists on a posix path
      • From: Gnarlodious <email@hidden>
    • Re: File exists on a posix path
      • From: Mark Lively <email@hidden>
    • Re: File exists on a posix path
      • From: Adam Bell <email@hidden>
  • Prev by Date: RE: Another Shell Script question ftp
  • Next by Date: Re: File exists on a posix path
  • Previous by thread: Re: How to escape paragraph return and enter to InDesign
  • Next by thread: Re: File exists on a posix path
  • Index(es):
    • Date
    • Thread