Jump to content
Sign in to follow this  
bhargavik

string from tree view

Recommended Posts

bhargavik

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

post-78203-0-49680300-1363321531_thumb.p

Edited by bhargavik

Share this post


Link to post
Share on other sites
PhoenixXL

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.

Share this post


Link to post
Share on other sites
bhargavik

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 by bhargavik

Share this post


Link to post
Share on other sites
PhoenixXL

Use the Au3Info tool and check out the Class under Basic Control Info

Regards

Edited 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.

Share this post


Link to post
Share on other sites
bhargavik

its showing as TTreeView Instance :1

Share this post


Link to post
Share on other sites
kylomas

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)

kylomas

edit: 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 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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×