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

AppleScript Try


  • Subject: AppleScript Try
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Wed, 28 Aug 2002 14:40:54 +1000

As the "on error" component of the try block is optional why can't we write something like this:

try
tell application "Finder"
set name of finderReference to fileName
end tell
end try

in this fashion:

try to tell application "Finder" to set name of finderReference to fileName


--
Malcolm Fitzgerald
Database Manager
The Australian Society of Authors

phone: 02 9318 0877 fax: 02 9318 0530
http://www.asauthors.org mailto:email@hidden
_______________________________________________
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: AppleScript Try
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: newbie: How do you copy files?
  • Next by Date: Re: (was Int Function) mod bug
  • Previous by thread: Re: newbie: How do you copy files?
  • Next by thread: Re: AppleScript Try
  • Index(es):
    • Date
    • Thread