Sign in to follow this  
Followers 0
Shokyu

Minimize Window + Open another

7 posts in this topic

Hi, first of all sorry 4 my bad english :P

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 (:nuke:

Send Keys

Open Window ©

Send Keys

PAUSE

start from the beginning.

/Help please :)

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

wow. thats fast! :P

I will check it right now and post if it worked or not.

Share this post


Link to post
Share on other sites

$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 :P

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

:P

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0