CDROM disk serial number

Ken Ray kray at sonsothunder.com
Mon May 24 11:16:33 EDT 2004


Tom,

You can do:

  put shell("system_profiler SPIDEDataType") into tData

and then parse tData for the serial number.

HTH,

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/


> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Thomas McCarthy
> Sent: Monday, May 24, 2004 2:07 AM
> To: use-revolution at lists.runrev.com
> Subject: CDROM disk serial number
> 
> 
> 
> A year or two ago there was a thread about this. There was a 
> solution for Windows machines (Thanks Ken!) and a possible 
> solution for Macs, using the system profiler.
> 
> My Mac 10.3 does not list the cd's serial number (just a 
> blank line) Also the system profiler is slow, is there a 
> shell command we could run?
> 
> Many thanks,
> Tom McCarthy
> ------------
> Ego sum rex Romanus et supra grammaticam.
>                  Sigismund I (obit 1437)
> ------------
> 
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web! 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 




More information about the Use-livecode mailing list