• 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: Michelle Steiner <email@hidden>
  • Date: Wed, 20 Oct 2004 17:44:02 -0700


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>".


--
Whoever said the last man standing is the winner didn't invite the girl.

_______________________________________________
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


  • Follow-Ups:
    • Re: Seeking "non-programmer's" AppleScript reference
      • From: peter boardman <email@hidden>
References: 
 >Seeking "non-programmer's" AppleScript reference (From: Tom Humiston <email@hidden>)
 >Re: Seeking "non-programmer's" AppleScript reference (From: Jeff Porten <email@hidden>)
 >Re: Seeking "non-programmer's" AppleScript reference (From: Eric Geoffroy <email@hidden>)

  • Prev by Date: Re: Code completion suggestion
  • Next by Date: Re: Creating a log file.
  • Previous by thread: Re: Seeking "non-programmer's" AppleScript reference
  • Next by thread: Re: Seeking "non-programmer's" AppleScript reference
  • Index(es):
    • Date
    • Thread