bobbintb Posted May 18, 2009 Share Posted May 18, 2009 ok ive got WinMenuSelectItem() figured out now but what i was wondering is if there is a way to use it on a menu that is only available by right-clicking. i dont think there is but wasnt gonna give up until someone else confirms this. Link to comment Share on other sites More sharing options...
Mat Posted May 18, 2009 Share Posted May 18, 2009 you could use Send ("{APPSKEY}") or controlsend it to the control you want to right click. MDiesel AutoIt Project Listing Link to comment Share on other sites More sharing options...
bobbintb Posted May 18, 2009 Author Share Posted May 18, 2009 you could use Send ("{APPSKEY}") or controlsend it to the control you want to right click.MDieselyea thats what ive been doing. i just wanted to avoid that because the code repeats this process numerous times, resulting in a series of annoying, epileptic flashes. i used the autoitmacrogenerator, which tells me autoit supports no popup menus so im thinking im out of luck. Link to comment Share on other sites More sharing options...
Mat Posted May 18, 2009 Share Posted May 18, 2009 you should be able to perform the entire thing in the background, using the correct commands... What exactly is it you are attempting to do? MDiesel AutoIt Project Listing Link to comment Share on other sites More sharing options...
bobbintb Posted May 18, 2009 Author Share Posted May 18, 2009 (edited) ok, ive got a list of data in a text file. the script loads the info into an array, brings up the menu in the program to add the data. the window pops up, the script enters the data and clicks "ok". then it repeats until all data is entered. ive been trying to get it to do eveything in the background but have been unsuccessful so far. right now the two problems are that the menu is a pop-up so i have to send shift+f10 instead of WinMenuSelectItem. so it does flash up, albeit briefly. the other is the window appearing and disappearing. when i WinSetState i can get rid of it, but because the process repeats so quickly, all that does is make me have to hide it everytime, making the window flash more rapidly. Edited May 18, 2009 by bobbintb Link to comment Share on other sites More sharing options...
bobbintb Posted May 19, 2009 Author Share Posted May 19, 2009 anyone got any ideas? 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