Re: system info delay
Re: system info delay
- Subject: Re: system info delay
- From: Axel Luttgens <email@hidden>
- Date: Thu, 5 Nov 2009 09:05:22 +0100
Le 3 nov. 2009 à 22:57, Luther Fuller a écrit :
Snow Leopard 10.6.1.
While trying to test a script, I encountered a long delay where
there should not be any delay. I finally traced the problem to a
single command. Here is the script ...
set elapsedTime to (current date)
system info
(current date) - elapsedTime
This script returns 32 sec on my Mac.
The system info command belongs to the StandardAdditions.osax
and until today, I had not noticed any delay at all.
Switched from a Standard to an Admin user ... same result.
Restarted ... this fixed the problem.
Now, I'm curious. Anyone know anything specific about why this
happened?
Hello Luther,
Difficult to tell... :-)
Now, it is clear that the "system info" command queries various parts
of the system so as to gather the needed data; it is thus possible
that the delay isn't an AppleScript one at all but reflects some
hiccups at the system level.
Could you have a look at the various logs with the help of
Console.app, at the time you encountered those delays?
HTH,
Axel _______________________________________________
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