somh Posted January 23, 2007 Share Posted January 23, 2007 I think winmgmts object might be used, but don't know how. Link to comment Share on other sites More sharing options...
somh Posted January 23, 2007 Author Share Posted January 23, 2007 Oh I found it here:http://msdn2.microsoft.com/en-us/library/aa387256.aspxPrimaryPartition is a boolean value:$oWMI = ObjGet("winmgmts:\\.\root\CIMV2") $cItems = $oWMI.ExecQuery ("SELECT * FROM CIM_DiskPartition") For $oItem in $cItems MsgBox(0,"",$oItem.PrimaryPartition) Next Link to comment Share on other sites More sharing options...
someone Posted January 23, 2007 Share Posted January 23, 2007 You should add that to the autoit snippet database, thats useful to know.http://quadryders.com/phpcc/index.php While ProcessExists('Andrews bad day.exe') BlockInput(1) SoundPlay('Music.wav') SoundSetWaveVolume('Louder') WEnd Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now