NoProgrammer Posted June 3, 2006 Share Posted June 3, 2006 I am trying to open an application and then click on button4 in the window that pops up. I can't seem to figure out the right command. I can't just tab to it as none of the buttons are active when the window opens. Link to comment Share on other sites More sharing options...
Valuater Posted June 3, 2006 Share Posted June 3, 2006 maybe ControlClick... see help 8) Link to comment Share on other sites More sharing options...
JoshDB Posted June 3, 2006 Share Posted June 3, 2006 (edited) Look at ControlClick() in the help file, and use AU3Info.exe in the AutoIt directory to find the buttons ControlID. EDIT: You beat me to the punch, Val! Edited June 3, 2006 by JoshDB Ha, I haven't been on these forums since... 2006, almost. Behold, my legacy signature:My AutoIt idol is Valuater. You know you love him, too.My Stuff: D&D AGoT Tools Suite Link to comment Share on other sites More sharing options...
NoProgrammer Posted June 3, 2006 Author Share Posted June 3, 2006 Thanks to both of you but the window still won't open the browser. Run("C:\Program Files\InterVideo\DVDCopy\DVDCopy.exe") WinWaitActive("DVD Copy") ControlFocus("DVD Copy","Source_Browse",1101) ControlFocus("DVD Copy","Source_Browse",1101) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 3, 2006 Moderators Share Posted June 3, 2006 Thanks to both of you but the window still won't open the browser. Run("C:\Program Files\InterVideo\DVDCopy\DVDCopy.exe") WinWaitActive("DVD Copy") ControlFocus("DVD Copy","Source_Browse",1101) ControlFocus("DVD Copy","Source_Browse",1101)Your using ControlFocus twice there. Not ControlClick next. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
NoProgrammer Posted June 3, 2006 Author Share Posted June 3, 2006 Your using ControlFocus twice there. Not ControlClick next.Duh. No wonder. It works now thanks. Link to comment Share on other sites More sharing options...
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