Re: Script Editor - Feature Request
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.