Jump to content

accessing control directly and avoiding GUIs


Recommended Posts

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

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

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 by bobbintb
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...