Jump to content

Send key to non active windows


Recommended Posts

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

  • Moderators

I have one more question after reading the stuff.

Both windows have the same name, how can i select exactly one of them?

thx

Is 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

  • Moderators

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

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,

Handles

Classnames

specific text

set names

so are the class names different?

Link to comment
Share on other sites

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 by Paulie
Link to comment
Share on other sites

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. :D

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...