cxcio Posted January 9, 2004 Posted January 9, 2004 ControlLeftClick ( "title", "text", "classnameNN") how to get the "classnameNN" value ? use window spy, and get it from the ">>>>>>>>( Last Control Under Mouse )<<<<<<<" ????? bu it doesn't work ... !
Developers Jos Posted January 9, 2004 Developers Posted January 9, 2004 You could try the WinGetClassList( "title", ["text"] ) function SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
jpm Posted January 9, 2004 Posted January 9, 2004 You could try the WinGetClassList( "title", ["text"] ) functionYou get the classname but not the value. AU3_SPY is the only way I know
Developers Jos Posted January 9, 2004 Developers Posted January 9, 2004 (edited) You get the classname but not the value. AU3_SPY is the only way I know My translator translated the how to get the "classnameNN" value to: Need to know the name of the Class thats wanted, not its value, because this is the function to be used : ControlLeftClick ( "title", "text", "classnameNN") Edited January 9, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
jpm Posted January 9, 2004 Posted January 9, 2004 JdeB, I don't understand your answer with WinGetClassList( "title", ["text"] ) you get only "Classname" NOT "ClassnameNN" so if you need to Know NN I really think that AU3_SPY is the tool Usually NN is 1 but on specific Application you may want to reference a specific one not only the first one.
Developers Jos Posted January 9, 2004 Developers Posted January 9, 2004 I knew there had to something I was missing here... :iamstupid: understand now... I had a similar issue when using the AU3_Spy.exe on a AutoIT Splash screen. It didn't tell me that the control was called "Static1" so i ran the WinGetClassList() and found "Static" and added the 1.. sorry for the confusion.... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
cxcio Posted January 10, 2004 Author Posted January 10, 2004 AU3_SPY ? i got something form the ">>>>>>>>( Last Control Under Mouse )<<<<<<<" but it doesn't work..... what's wrong ?
Developers Jos Posted January 10, 2004 Developers Posted January 10, 2004 (edited) did you click on the window that you want to check out ? Edited January 10, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
cxcio Posted January 11, 2004 Author Posted January 11, 2004 (edited) did you click on the window that you want to check out ?with au3_spy, i got the control name is ThunderRT6CommanddButton4, then use ControlLeftClick("WindowTitle","","ThunderRT6CommanddButton4")is it right ?but failed ... Edited January 11, 2004 by cxcio
Valik Posted January 11, 2004 Posted January 11, 2004 (edited) with au3_spy, i got the control name is ThunderRT6CommanddButton4, then use ControlLeftClick("WindowTitle","","ThunderRT6CommanddButton4")is it right ?but failed ... The Control* functions are not guaranteed to work on non-standard controls. They aren't even guaranteed to work on standard controls, but most of the time it does. You could try using ControlSend and sending it a space or something if it's a button. Edited January 11, 2004 by Valik
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