Re: Smile wait for log
Re: Smile wait for log
- Subject: Re: Smile wait for log
- From: Bernard Bernu <email@hidden>
- Date: Mon, 10 Oct 2005 20:25:44 +0200
Le 10 oct. 05, à 20:06, Gil Dawson a écrit :
Is there a way, in Smile V2.6.9 under MacOS 10.4.2, to wait for the
Console to catch up?
You should certainly update your Smile version. There are lots of
improvment with the current version 3.0.6
I have a very-long-running program (hours, eventually) and I'd like to
monitor the Console "log" command outputs. But the Console just shows
the first line or two until the program finishes, then everything
shows up at once.
You should put a
smilepause 0.01
after each quietmsg. The message will be written each time in the
Console.
Postit is great for showing me what's going on right now, but I want
to look back a few lines into a permanent Console log. The "log"
function does exactly what I want, except for this annoying delay.
There must be something I can put into an inner loop that will let the
log catch up.
Putting in a "display dialog giving up after 1" does exactly what I
want. However, it has the annoying side effect that the program comes
to a complete stop (and does not give up after one second) if Smile
isn't frontmost. I want to do other things on my machine while this
program is running, so responding to the alert is annoying.
I tried "delay 0.1" but that, amazingly, didn't let the log catch up.
It did have the side benefit of letting my unrelated applications have
more CPU time, so I'm leaving it in.
I have tried msg and Quietmsg, but these seem to have the same waiting
philosophy as log.
I tried smilepause, but I could not figure out the syntax. I kept
getting errors at compile time and execute time.
With the version 3 series,
you type
smilepause
and then after selecting that word command E
This will give you the syntax of this verb. This works for all commands
and it is VERY useful.
Bernard
C'mon, there's gotta be something.
--Gil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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