Jump to content

how to read from window and send to other window


Guest matricks
 Share

Recommended Posts

Guest matricks

i want to read a "string" of char (numbers and letter) from unactive window and send what i read to other window...

can u plz write for me how to do it?

i will start:

WinActivate("Untitled - Notepad1") ; active the notepad1 window

$TEXT = WinGetText("Untitled -Notpad1") ; get the text from notepad1 to "TEXT"

WinActivate("Untitled - Notepad2") ; active the notepad2 window

????????????????????????????????? ; send whats in "TEXT" to notepad2

thanks alot

matricks.

Link to comment
Share on other sites

Guest matricks

i manage

thanks

i use:

ControlSend("Untitled", "", "Edit1", $TEXT)

u'r way is better (shorter) and also correct.

but thanks alot again :whistle:

Edited by matricks
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...