Copy protection WAS Re: Hard Drives

AndyP smudge.andy at googlemail.com
Sat Jul 29 07:06:33 EDT 2017


For Windows solution

on mouseUp

put $systemdrive into tSysDrive

//string for the shell command

put "vol " & tSySDrive into tDriveInfo

//the last word of the returned info is the ACTIVE  SYSTEM HD Serial

set the hideConsoleWindows to true

put the last word of shell(tDriveInfo) into tHDSerial

answer "HD Serial is  " && tHDSerial with "OK"

end mouseUp

This can be found at  http://2108.co.uk/snippets/
<http://2108.co.uk/snippets/>  




-----
Andy Piddock 


My software never has bugs. It just develops random features. 

TinyIDE a Free alternative minimalist IDE Plugin for LiveCode
TinyIDE 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Hard-Drives-tp4717633p4717637.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list