Jump to content

Send keys to hidden windows?


sd333221
 Share

Recommended Posts

  • Moderators

Can you send keys to hidden

windows, without activating them?

=)

that would revolutionize whole autoit

nope... it does not

tested with this

Run("Notepad.exe", "", @SW_MAXIMIZE)
WinWait("")

Send("!{TAB}")

sleep(4000)

ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window")

8)

You mean this?

Run("Notepad.exe", "", @SW_HIDE)
WinWait("")

Send("!{TAB}")

sleep(4000)

ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window")

Sleep(4000)

WinSetState("Untitled - Notepad", "", @SW_SHOW)

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

Well i guess both examples show it... you're getting a bit furtive lately :lmao::P

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

The synonyms of the word was what I was after... something like "artful" ... "cunning"... I used it in the wrong sytax (kind of like my coding :P )

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

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