Shokyu Posted August 31, 2006 Share Posted August 31, 2006 Hi, first of all sorry 4 my bad english I just want my Script to switch between 3 Windows but how ? What i want to do is something like that : open Window (A) Send Keys Minimize Open Window ( Send Keys Open Window © Send Keys PAUSE start from the beginning. /Help please Link to comment Share on other sites More sharing options...
Xenobiologist Posted August 31, 2006 Share Posted August 31, 2006 HI, have a look at ControlSend() then you needn't to check which window is active or minimized and so on. 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...
Shokyu Posted August 31, 2006 Author Share Posted August 31, 2006 wow. thats fast! I will check it right now and post if it worked or not. Link to comment Share on other sites More sharing options...
Shokyu Posted August 31, 2006 Author Share Posted August 31, 2006 $GameWinTitle = "Window ALPHA" WinActivate($GameWinTitle, "") WinWaitActive($GameWinTitle, "", 5) While 1 ControlSend("Window ALPHA", "", "", "{1 down}") Sleep("100") ControlSend("Window ALPHA", "", "", "{1 up}") Sleep("5000") ;Zweites Fenster Startet hier ControlSend("Window BETA", "", "", "{1 down}") Sleep("100") ControlSend("Window BETA", "", "", "{1 up}") Sleep("5000") WEnd Doesnt works and i realy have no idea what else i could do Link to comment Share on other sites More sharing options...
Xenobiologist Posted August 31, 2006 Share Posted August 31, 2006 Hi, what game or application is it and what to you need to do? Describe in prosa. German: was ist das denn für ein Spiel /Applikation? 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...
Shokyu Posted August 31, 2006 Author Share Posted August 31, 2006 Das Spiel läuft auf VMWARE und andere kleine Scripts funktionieren auch..nun wollt ich aber 2 Instanzen von VMWARE laufen lassen und da brauch ich halt ne routine die beide Fenster aufruft ( im wechsel ) und dann die Sends verschickt oO English : Help pls Link to comment Share on other sites More sharing options...
Xenobiologist Posted August 31, 2006 Share Posted August 31, 2006 HI, guck dir die ControlSend Befehle nochmal genau an. Ansonsten kannst du auch die TitleLeiste umbennen um die Fenster zu indentifizieren. Es gibt auch deutsche Autoit Foren, wenn du nicht so gut Englisch kannst. 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...
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