• 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
If exists logic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

If exists logic


  • Subject: If exists logic
  • From: Jeff Grossman <email@hidden>
  • Date: Thu, 05 Jun 2003 14:49:48 -0700

How do I get the following code to work on OS X 10.2.6?

if (file "OSX:List Addresses:Fishads Addresses") exists then
tell application "Finder"
select {file "Fishads Addresses" of folder "List_Addresses" of disk
"OSX"}
delete selection
end tell
end if


It does not seem to like my "if exists" line.

Thanks,
Jeff
--
Jeff Grossman (email@hidden)
Director - Information Systems, Turner's Outdoorsman
http://www.turners.com
_______________________________________________
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: If exists logic
      • From: Andrew Oliver <email@hidden>
    • Re: If exists logic
      • From: Michelle Steiner <email@hidden>
    • Re: If exists logic
      • From: Gary Lists <email@hidden>
  • Prev by Date: Do Perl Script?
  • Next by Date: Move File
  • Previous by thread: Re: Do Perl Script?
  • Next by thread: Re: If exists logic
  • Index(es):
    • Date
    • Thread