VicTT Posted November 23, 2014 Posted November 23, 2014 (edited) http://www.aptuner.com/ftp/apmain/APTunerInstall308.exe The above is a link to the application I'm attempting to automate. AutoIt Window Info reveals 3 controls of Class "AfxWnd80s" that I suspect are Windows on their own. I am attempting to get handles to them and extract a class list (though I'm not exactly sure this is the way to go around it): $subwinhandle returned is not null (for i={1,3} - AfxWnd80s1 has no ID in AutoIt Window info, Ctrl_ID(AfxWnd80s2)=1, Ctrl_ID(AfxWnd80s3)=3 ), but WinGetClassList does not return anything for i={1,2,3} I'm attempting to read some text from AfxWnd80s2 (Text below Cents and Note) in the area denoted 2 in the screenshot. I'm not even sure this *can* be done, and if the handles returned by GetDlgItem are valid, or even if I'm calling the right function to get them. Any help would be greatly appreciated. Thank you in advance. #include <WinAPI.au3> $h=WinGetHandle("AP Tuner") $x="AfxWnd80s" for $i=1 to 3 $y=ControlGetHandle($h,"","[CLASS:"&$x&"; INSTANCE:"&$i&"]") $subwinhandle=_WINAPI_GetDlgItem($h,$i) $z=_WinGetClassList($subwinhandle) MsgBox(0,$subwinhandle,$z) next Edited November 23, 2014 by VicTT Quote Together we might liveDivided we must fall
Danyfirex Posted November 23, 2014 Posted November 23, 2014 I think you can't not get the info. as far I remember It use GDI. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
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