• 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
script won't compile if object doesn't exist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

script won't compile if object doesn't exist


  • Subject: script won't compile if object doesn't exist
  • From: Robert Poland <email@hidden>
  • Date: Fri, 11 Aug 2006 17:54:15 -0600

Hi,

This script works fine if "Stuff ƒ" exists but if it doesn't exist then it won't even compile. It will be for ejecting a link to a secure Folder in the evening.

Seems like I saw the answer recently, but like everything else I can't recall it.

Help?

(* EjectStuff ƒ    8/11/06
*)

tell application "Finder"
if exists (eject alias "Stuff ƒ:" ) then
end if
end tell

Tia,

Robert Poland
email@hidden



 _______________________________________________
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: script won't compile if object doesn't exist
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Determining a Paragraph's Index
  • Next by Date: Re: script won't compile if object doesn't exist
  • Previous by thread: Re: setting the list view on a folder
  • Next by thread: Re: script won't compile if object doesn't exist
  • Index(es):
    • Date
    • Thread