• 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
Re: What is the "error message" in AppleScript (from TN2065)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the "error message" in AppleScript (from TN2065)


  • Subject: Re: What is the "error message" in AppleScript (from TN2065)
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 6 Oct 2008 19:46:58 -0700

Someone answered this off-list.

try
do stuff that make an error
on error errMsg number errNumber
display dialog errMsg & return & errNumber
end try

It works.


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >What is the "error message" in AppleScript (from TN2065) (From: Jerry Krinock <email@hidden>)

  • Prev by Date: What is the "error message" in AppleScript (from TN2065)
  • Next by Date: Re: What is the "error message" in AppleScript (from TN2065)
  • Previous by thread: What is the "error message" in AppleScript (from TN2065)
  • Next by thread: Re: What is the "error message" in AppleScript (from TN2065)
  • Index(es):
    • Date
    • Thread