• 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: Stop Log
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Stop Log
      • From: Gil Dawson <email@hidden>
References: 
 >Stop Log (From: Gil Dawson <email@hidden>)

  • Prev by Date: Stop Log
  • Next by Date: Re: Stop Log
  • Previous by thread: Stop Log
  • Next by thread: Re: Stop Log
  • Index(es):
    • Date
    • Thread