Re: Stop Log
Re: Stop Log
- Subject: Re: Stop Log
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 07 Mar 2005 14:45:45 -0800
Title: Re: Stop Log
On 3/7/05 2:09 PM, "Gil Dawson" <email@hidden> wrote:
What happened to stop log and start log?
When I run the folowing script:
log "A"
tell application "Finder" to get name of disk 1
stop log
log "B"
tell application "Finder" to get name of disk 1
start log
log "C"
tell application "Finder" to get name of disk 1
with Script Editor 1.8.3 under either Classic or 9.2.2, it runs. But with Script Editor 2.0 (v43) under 10.3.8, it s a run-time error:
<<script>> doesn't understand the stop log message.
Is that just the way it is?
I get the same in Script Editor.
In Script Debugger, there's no error, and opening Apple Event Log display the following, which appears to indicate that 'stop log', while not erroring, doesn't do anything. "B" gets logged just like "A" and "C":
------SD Event Log window------------
Script “untitled 1” started
(*A*)
tell application "Finder"
get name of disk 1
--> "PB G4 HD Panther"
end tell
tell current application
stop log
(*B*)
(*C*)
end tell
tell application "Finder"
get name of disk 1
--> "PB G4 HD Panther"
end tell
Script “untitled 1” finished
---------------end script --------------------
--
Paul Berkowitz
_______________________________________________
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: | |
| >Stop Log (From: Gil Dawson <email@hidden>) |