riki381 Posted February 22, 2009 Posted February 22, 2009 Hi, Im a newbie and i would appreciate any help. My question is: How can you get all controls in a window, if all you have is the window handle? I have this exe window, but i dont know which controls were used in this application. Thanks, riki381
dantay9 Posted February 22, 2009 Posted February 22, 2009 Use AutoIt Window Info. Press Ctrl+F6 when the script is open to run AutoIt Window Info.
Arm Posted April 8, 2009 Posted April 8, 2009 I used AutoIt Window info, I got window info however I could not get the ID for the particular buttons [example I did not get ID for OK button], I am also new bee I am glade if you help me in this regards... Thanks in advance. ------------------------------------------------------"You are never a loser,until you quit trying"------------------------------------------------------
Arm Posted April 8, 2009 Posted April 8, 2009 Yes I did... ------------------------------------------------------"You are never a loser,until you quit trying"------------------------------------------------------
Authenticity Posted April 8, 2009 Posted April 8, 2009 So I can think of three things. It's not Windows control or it's a stacked control or it's a window. Anyway, if it has control ID then you'll see it.
Arm Posted April 8, 2009 Posted April 8, 2009 I could see Class - Droverlord-Window class Instances -1 ClassnameNN - Droverlord-Window class1 Advanced(Class) - [CLASS: Droverlord-Window class; INSTANCES-1] However ID is blank. The window has 3 buttons, I got same values for all the 3 buttons. Could you please tell me how to access the buttons in the GUI. ------------------------------------------------------"You are never a loser,until you quit trying"------------------------------------------------------
Arm Posted April 8, 2009 Posted April 8, 2009 The application run in vista 64 bit OS, Could any one help in this... ------------------------------------------------------"You are never a loser,until you quit trying"------------------------------------------------------
Authenticity Posted April 8, 2009 Posted April 8, 2009 The control functions are well fine just with the ClassnameNN if you have it: ControlClick($hwnd, '', 'Droverlord-Window class1')
Arm Posted April 9, 2009 Posted April 9, 2009 The control functions are well fine just with the ClassnameNN if you have it:ControlClick($hwnd, '', 'Droverlord-Window class1')Thanks for your continues replay.This command will click on the window. However I need to select the buttons which is placed in the same window. ------------------------------------------------------"You are never a loser,until you quit trying"------------------------------------------------------
Arm Posted April 14, 2009 Posted April 14, 2009 what is ClassnameNN?, could any one guide me to find a ID for the button from ClassnameNN. ------------------------------------------------------"You are never a loser,until you quit trying"------------------------------------------------------
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