Re: Computer Serial Number
Re: Computer Serial Number
- Subject: Re: Computer Serial Number
- From: email@hidden (Randal L. Schwartz)
- Date: Fri, 25 Jul 2008 18:02:33 -0700
>>>>> "Mark" == Mark J Reed <email@hidden> writes:
Mark> do shell script "system_profiler | awk '/Serial Number:/ {print $NF; exit}' "
do shell script "system_profiler | sed -n 's/.*Serial Number://p'
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<email@hidden> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
_______________________________________________
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