• 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: Need help writing some AppleScripts!!! Please help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help writing some AppleScripts!!! Please help!


  • Subject: Re: Need help writing some AppleScripts!!! Please help!
  • From: Jean-Baptiste Le Stang <email@hidden>
  • Date: Fri, 17 May 2002 15:18:25 +0200

I was only assuming that he didnot find any solution to his problem, but I
agree with you, error trapping is not a way to make a script works properly.

> On 5/17/2002 7:39 AM, "Jean-Baptiste Le Stang" <email@hidden>
> wrote:
>
>> Number 1 : You should include error trapping in your script
>>
>> Try
>> --here is your script
>> On error number x (where x is the number f your error)
>> -- what to do in case of error
>> end
>
> How would error trapping help Dan accomplish any of his three goals?
>
> Sorry to contradict you; but I would advise new script writers against using
> error trapping because it can actually make it harder to determine why or
> when a script fails. As a rule, new script writers should look at error
> trapping as an advanced facility, and only use it when they are sure their
> scripts are otherwise working as expected.
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >Re: Need help writing some AppleScripts!!! Please help! (From: JollyRoger <email@hidden>)

  • Prev by Date: Re: Need help writing some AppleScripts!!! Please help!
  • Next by Date: Re: Is it possible to set the hard disk name in a path
  • Previous by thread: Re: Need help writing some AppleScripts!!! Please help!
  • Next by thread: Re: Need help writing some AppleScripts!!! Please help!
  • Index(es):
    • Date
    • Thread