Re: Where to log lines go
Re: Where to log lines go
- Subject: Re: Where to log lines go
- From: Philip Aker <email@hidden>
- Date: Mon, 12 Jan 2009 06:40:32 -0800
On 2009-01-12, at 05:33:10, Paul Taylor wrote:
I'm trying to use the log command, to write to standard out, so it can then be handled and used by my calling program with uses the osascript command to run the applescript, but it doesnt seem to be appearing. In fact the only time I see the log output is in the Event Log within the Script Editor, but that doesnt help me. (Ive seen some code which uses the 'write' command to write logging to a file, but the calling program is already writing nonapplescript stuff to the log file, so I wouldnt want to write directly to it from the applescript.
osascript -e 'do shell script "echo bob"'
Shows that you can call 'do shell script' from within an AppleScript invoked by osascript.
Philip Aker
Democracy: Two wolves and a sheep voting on lunch. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden