• 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
Try 'n' Tell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Try 'n' Tell


  • Subject: Try 'n' Tell
  • From: Mr Tea <email@hidden>
  • Date: Tue, 24 Sep 2002 15:31:13 +0100

When a try block applies to all the commands within a tell block, which of
the two syntactical options below is preferred?

try
tell application "Finder"
anything
end tell
end try

...or...

tell application "Finder"
try
anything
end try
end tell


TIA


Nick
_______________________________________________
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: Try 'n' Tell
      • From: John W Baxter <email@hidden>
  • Prev by Date: Re: Why doesn't this cause an error?
  • Next by Date: Re: Shell Scripting
  • Previous by thread: Re: Shell Scripting
  • Next by thread: Re: Try 'n' Tell
  • Index(es):
    • Date
    • Thread