HeinrichA Posted May 28, 2015 Share Posted May 28, 2015 I have a QWidget-Tool, which most probably doesn't inherit the QAsscessiblity interface.It has a main menu, and I thought, nevertheless it should be able to Send/ControlSend etc some keystrokes.ControlSend($hWnd,"" ,"[CLASS:QWidget]", "!I {ENTER}") WinMenuSelectItem($hWnd,"","&IE", "&Open") Send("!I {ENTER}")None of the above work. Do you have any idea, if it could be made working ? Link to comment Share on other sites More sharing options...
Starstar Posted May 28, 2015 Share Posted May 28, 2015 (edited) HeinrichAYou are sending Capital "i" .But mostly Alt commands are used small alphabet.One more thing i am not sure but you must try key combination like this... "!i+{ENTER}" Edited May 28, 2015 by Starstar Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 28, 2015 Moderators Share Posted May 28, 2015 Starstar, are you trying your suggestions before posting them? Why are you suggesting the OP send SHIFT/Enter (+), rather than just Enter, as a resolution to his issue? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
HeinrichA Posted May 29, 2015 Author Share Posted May 29, 2015 You are sending Capital "i" .But mostly Alt commands are used small alphabet.One more thing i am not sure but you must try key combination like this... "!i+{ENTER}"Thanks for answering. I was able yesterday, to figure out the same thing. But in the help this issue wasn't emphasized enough for me ... (see quote below). Strangely enough, only Send("!i {ENTER}") worked for me, all other commands didn't give a result.N.B. Some programs are very choosy about capital letters and ALT keys, i.e., "!A" is different from "!a". The first says ALT+SHIFT+A, the second is ALT+a. If in doubt, use lowercase! 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