Get the serial number of the machine

dunbarx at aol.com dunbarx at aol.com
Mon Nov 26 18:56:24 EST 2012


Ah.


Thanks Phil.


And you as well, Mike, I did not see how you intended the function to work.



Craig Newman


-----Original Message-----
From: Phil Davis <revdev at pdslabs.net>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Mon, Nov 26, 2012 6:49 pm
Subject: Re: Get the serial number of the machine


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


_______________________________________________
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

 



More information about the use-livecode mailing list