One for the experts: Serial Number of computer using Applescript Studio
One for the experts: Serial Number of computer using Applescript Studio
- Subject: One for the experts: Serial Number of computer using Applescript Studio
- From: yvan-koenig <email@hidden>
- Date: Sat, 19 Mar 2005 13:40:22 +0100
Le 19 mars 2005 , à 2:14, David C Andrews a écrit :
This is a bit quicker & shorter (assumes serial number remains one
word):
tell application "System Profiler"
set foo to system profile
last word of (paragraph (count paragraphs in (text 1 thru (offset of
"Serial Number" in foo) of foo)) of foo)
end tell
David A
__________
Once again, I repeat:
"Serial Number" exists ONLY when the running OS is in english which is
not the sole language used on Macintoshes.
French system returns:
Numéro de série: CK…
Yvan KOENIG (from FRANCE)
_______________________________________________
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