• 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: Script Editor - Feature Request
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Editor - Feature Request


  • Subject: Re: Script Editor - Feature Request
  • From: Steve Mills <email@hidden>
  • Date: Thu, 6 Nov 2003 08:57:45 -0600

On Nov 6, 2003, at 08:09, Steve Mills wrote:

In addition to using the Log window in Script Editor or Script Debugger, you can spit messages to Console:

do shell script "echo 'bob' > /dev/console"

This shows up in console.log, viewable in 10.3's Console.app.

I'll also mention that if you don't want to clog up console.log with your own debugging strings, instead write them out to your own .log file. Open it in Console and it will update as necessary:

do shell script "echo 'test' >> ~/Desktop/my.log"

You can even spit out script variables:

set x to "I'm a variable"
do shell script "echo " & (quoted form of x) & " >> ~/Desktop/my.log"

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
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: 
 >Script Editor - Feature Request (From: David Hoerl <email@hidden>)
 >Re: Script Editor - Feature Request (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Script Editor - Feature Request
  • Next by Date: Volume index bug in Panther?
  • Previous by thread: Re: Script Editor - Feature Request
  • Next by thread: Volume index bug in Panther?
  • Index(es):
    • Date
    • Thread