bhargavik Posted March 15, 2013 Share Posted March 15, 2013 (edited) how to get the system summary from this tree view this is my code Local $tit='ASTRA32 - Advanced System Information Tool 2.13' Local $ptit=WinGetText("ASTRA32-Advanced") MsgBox(0,"name",$ptit) its showing as 0 Please help me ... give me the solution please Edited March 15, 2013 by bhargavik Link to comment Share on other sites More sharing options...
PhoenixXL Posted March 15, 2013 Share Posted March 15, 2013 Is it a TreeView32 control.If yes check ControlTreeView with "GetItemCount", "item" My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. Link to comment Share on other sites More sharing options...
bhargavik Posted March 15, 2013 Author Share Posted March 15, 2013 (edited) how to know its Treeview32 or not ? Local $tit='ASTRA32 - Advanced System Information Tool 2.13' ControlTreeView($tit, ""," [CLASS:TTreeView; INSTANCE:1]", "GetItemCount", "item") what i did is correct ? Edited March 15, 2013 by bhargavik Link to comment Share on other sites More sharing options...
PhoenixXL Posted March 15, 2013 Share Posted March 15, 2013 (edited) Use the Au3Info tool and check out the Class under Basic Control InfoRegards Edited March 15, 2013 by PhoenixXL My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. Link to comment Share on other sites More sharing options...
bhargavik Posted March 15, 2013 Author Share Posted March 15, 2013 its showing as TTreeView Instance :1 Link to comment Share on other sites More sharing options...
kylomas Posted March 15, 2013 Share Posted March 15, 2013 (edited) bhargavik,This product has a batch interface that can produce output in various formats. See here.If you have the trial version and the batch interface is disabled you can get similar info using "msinfo32.exe". See this thread.Here is one way to invoke msinfo32 in a script...local $outfile = @scriptdir & '\sysinfo.txt' local $report_pid = run("msinfo32 /report " & $outfile ) while processexists($report_pid) sleep(100) WEnd shellexecute($outfile)kylomasedit: additional info...I suspect that most, if not all of this info can be gotten from WMI also...edit2: There are many scripts for gathering various kinds of system info on the forum, including script by ripdad...Use the forum search to find these... Edited March 15, 2013 by kylomas Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill 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