Re: Seeking "non-programmer's" AppleScript reference
Re: Seeking "non-programmer's" AppleScript reference
- Subject: Re: Seeking "non-programmer's" AppleScript reference
- From: peter boardman <email@hidden>
- Date: Thu, 21 Oct 2004 09:37:07 +0100
Michelle Steiner <email@hidden> said on 2004-10-20, 17:44 (-0700
GMT):
> On Oct 20, 2004, at 3:38 PM, Eric Geoffroy wrote:
>
> > I'd like to hear some more about this:
> >
> > set debug to true
> > [...]
> > if debug is true then say "Variable1 is " & var1 & ", variable2 is " &
> > var2 & "."
>
> Essentially, you set a global variable named "debug"; then wherever you
> might want to insert a debug statement (say, display dialog, log,
> etc.), you put in "if debug is true then <whatever>".
>
I once tried to do some musical debugging (for a very long script): if the script was
going well, various harmonious sounds would be heard; if things were failing,
discordant notes would start to intrude. It didn't work, of course.. ;-)
Besides, how do you play sounds from an AppleScript these days?
Pete
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden