Jump to content

Minimize Window + Open another


 Share

Recommended Posts

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 :)

Link to comment
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

Link to comment
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

Link to comment
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

Link to comment
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

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...