Get the serial number of the machine

Phil Davis revdev at pdslabs.net
Mon Nov 26 18:49:14 EST 2012


put last word of shell("system_profiler SPHardwareDataType | grep 
'Serial Number'")

:-)
Phil Davis

(I don't know of a way on Win but there might be one)


On 11/26/12 3:08 PM, dunbarx at aol.com wrote:
> Mike.
>
>
> Thanks, but I meant from a script in LC.
>
>
>
> Craig
>
>
> -----Original Message-----
> From: Mike Bonner <bonnmike at gmail.com>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Sent: Mon, Nov 26, 2012 4:41 pm
> Subject: Re: Get the serial number of the machine
>
>
> On a mac: system_profiler SPHardwareDataType | grep "Serial Number"
>
>
> On Mon, Nov 26, 2012 at 1:28 PM, <dunbarx at aol.com> wrote:
>
>>
>> Is it possible to use a shell command, or whatever, to retrieve the serial
>> number of the machine that LC is
>> running on? Or any machine-specific designator?
>>
>>
>> Thanks,
>>
>>
>> Craig Newman
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>   
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

-- 
Phil Davis





More information about the use-livecode mailing list