• 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: Seeking "non-programmer's" AppleScript reference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Seeking "non-programmer's" AppleScript reference (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Set Volume / Get Volume ?
  • Next by Date: Re: Set Volume / Get Volume ?
  • Previous by thread: Re: Seeking "non-programmer's" AppleScript reference
  • Next by thread: curl ftp, get 'Cant Open' msg
  • Index(es):
    • Date
    • Thread