Re: OS version?
Re: OS version?
- Subject: Re: OS version?
- From: Emmanuel <email@hidden>
- Date: Thu, 15 May 2003 14:59:46 +0200
At 11:20 PM -0700 14/05/03, Andrew Oliver wrote:
>
It's much faster to just request the specific preference setting you're
>
after:
>
>
do shell script "defaults read loginwindow SystemVersionStampAsString
>
>
This is an order of magnitude faster than dumping the entire defaults table.
>
>
Of course, that only makes it 300 times slower than 'system attribute
>
"sysv"', but the point is still valid :)
30 times faster than "read | grep" but still this makes "defaults" 100 times slower than "system attribute".
Cheers, AppleScript: "system attribute" is a matter of 140 microseconds on my prehistoric Pismo.
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.