Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: system info delay



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >system info delay (From: Luther Fuller <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.