bobbintb Posted May 16, 2009 Share Posted May 16, 2009 ok so here is my problem: i have a script that i use to automatically input data from a text file. it gives focus to the program, sends a right click to the control of the window and hits the "a" button to bring up the window to input the data, hits the "ok" button and repeats itself until all data is imputed. however, since this is dealing with visible controls i cant click anywhere or do other things until the script is done. i tried using _WinAPI_ShowWindow and WinSetState but all that does it make it flash more, since the window is continually being brought up. is there a way to access the control i need without going through the menus and input the data, basically avoiding all the built in GUIs of the program so i can continue to work while the data is imputed behind the scenes? Link to comment Share on other sites More sharing options...
exodius Posted May 16, 2009 Share Posted May 16, 2009 If you can't doing it using ControlSetText and ControlClick, you're probably out of luck since it's a third-party-program... Link to comment Share on other sites More sharing options...
bobbintb Posted May 16, 2009 Author Share Posted May 16, 2009 If you can't doing it using ControlSetText and ControlClick, you're probably out of luck since it's a third-party-program...is there at least a way to bring it up without having to go through the menus to get to it? Link to comment Share on other sites More sharing options...
Zedna Posted May 16, 2009 Share Posted May 16, 2009 Look at WinMenuSelectItem() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
bobbintb Posted May 17, 2009 Author Share Posted May 17, 2009 (edited) Look at WinMenuSelectItem()i saw that but didnt think thats what i was looking for. but on second look i think that might work. but what if the menu is only a right-click menu? Edited May 17, 2009 by bobbintb 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