Re: Computer Serial Number
Re: Computer Serial Number
- Subject: Re: Computer Serial Number
- From: Philip Aker <email@hidden>
- Date: Sun, 27 Jul 2008 00:59:31 -0700
On 08-07-27, at 00:55, Axel Luttgens wrote:
Unlike the other two:
do shell script "system_profiler SPHardwareDataType | sed -n
's/.*Serial Number://p'"
reports with a space in the result.
There must have been a slight typo in Randal's post (or perhaps an
artefact of the mail transport?):
do shell script "system_profiler SPHardwareDataType | sed -n
's/.*Serial Number: //p'"
Yes, I corrected the missing ' and your further amendment makes
it work correctly.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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