erezlevi Posted December 3, 2008 Posted December 3, 2008 hi, I need help with getting the control text from the following window: Attached is a file with a screen shot of the controlwindow. thanks, I tried : $m=WinGetText ("[CLASS:AfxWnd70u]","") --> dosen't work. also: ControlGetText ("Customer Interaction Express","","[CLASSNN....) didn't work also. please help me out.
Moderators big_daddy Posted December 3, 2008 Moderators Posted December 3, 2008 You're trying to use the class of the control to get reference to the window, that obviously won't work. $sText = ControlGetText("Customer Interaction Express", "", "[CLASSNN:AfxWnd70u36]") ConsoleWrite($sText & @CR)
erezlevi Posted December 3, 2008 Author Posted December 3, 2008 You're trying to use the class of the control to get reference to the window, that obviously won't work. $sText = ControlGetText("Customer Interaction Express", "", "[CLASSNN:AfxWnd70u36]") ConsoleWrite($sText & @CR) hi, Thanks, I will try it tomorrow and let you know if it worked.
erezlevi Posted December 4, 2008 Author Posted December 4, 2008 hi, again. I still have a problem, allthough this works, the second time you open the application, it has a different CLASSNN number for this control. pls help out. is there any way to get the CLASSNN of a CLASS control before getting the data like guictrlgetclassNN ? because the CLASS itself AfxWnd70u never changes only the CLASSNN.
Zedna Posted December 4, 2008 Posted December 4, 2008 (edited) hi, again. I still have a problem, allthough this works, the second time you open the application, it has a different CLASSNN number for this control. pls help out. is there any way to get the CLASSNN of a CLASS control before getting the data like guictrlgetclassNN ? because the CLASS itself AfxWnd70u never changes only the CLASSNN. Looks which of other properties of that control don't change (for example: X,Y,W,H) and specify it in your [CLASS:AfxWnd70u; X:100; Y:200] Edited December 4, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
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