ExElNeT Posted July 21, 2006 Share Posted July 21, 2006 Hi! Is it possible to send keys to a non active window? So would it be possible to send several different keys to a bunch of minimized windows? Thanks in advance Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 21, 2006 Share Posted July 21, 2006 HI, yes. Have a look at the ControlSend and all Control commands. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
ExElNeT Posted July 21, 2006 Author Share Posted July 21, 2006 that reply was inhuman ... thanks a lot ... you might get a price for fastanswering. Link to comment Share on other sites More sharing options...
ExElNeT Posted July 21, 2006 Author Share Posted July 21, 2006 I have one more question after reading the stuff. Both windows have the same name, how can i select exactly one of them? thx Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 21, 2006 Moderators Share Posted July 21, 2006 I have one more question after reading the stuff.Both windows have the same name, how can i select exactly one of them?thxIs there any "Visible" text under the AutoInfo tool that make them unique? 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...
ExElNeT Posted July 21, 2006 Author Share Posted July 21, 2006 nothing ;/ i know in unix everywindow has an id and many more unique stuff ... any odther idea? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 21, 2006 Moderators Share Posted July 21, 2006 nothing ;/ i know in unix everywindow has an id and many more unique stuff ...any odther idea?Hmm, are there any Controls on them that are different than the others but always on that particular window? 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...
Paulie Posted July 21, 2006 Share Posted July 21, 2006 nothing ;/ i know in unix everywindow has an id and many more unique stuff ...any odther idea?well, there are several different wasy autoit can referance windows,HandlesClassnamesspecific textset namesso are the class names different? Link to comment Share on other sites More sharing options...
MHz Posted July 21, 2006 Share Posted July 21, 2006 Both windows have the same name, how can i select exactly one of them?If 1 window arrives before the other, then use WinSetTitle() to make it different to the other window that is yet to come. Link to comment Share on other sites More sharing options...
ExElNeT Posted July 21, 2006 Author Share Posted July 21, 2006 everything autoitinfo shows is exactly the same Link to comment Share on other sites More sharing options...
Paulie Posted July 21, 2006 Share Posted July 21, 2006 (edited) If 1 window arrives before the other, then use WinSetTitle() to make it different to the other window that is yet to come.yes then get the handles in a variable and make refernces to the window with that Edited July 21, 2006 by Paulie Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 21, 2006 Share Posted July 21, 2006 HI, then look as MHz said at the time when the first appears. Or you can set the tilte of the first window to another one. Add 1 and end ... Maybe it even doesn't matter what you are doing in which window, cause they are equal. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
ExElNeT Posted July 21, 2006 Author Share Posted July 21, 2006 winsettitle did the trick thx again :=) 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