Guest matricks Posted September 2, 2005 Posted September 2, 2005 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.
jpm Posted September 2, 2005 Posted September 2, 2005 is the following code working WinWaitActive("Untitled - Notepad2") Send($text) if you don't want to activate you can use the ControlSend
Guest matricks Posted September 2, 2005 Posted September 2, 2005 (edited) i manage thanks i use: ControlSend("Untitled", "", "Edit1", $TEXT) u'r way is better (shorter) and also correct. but thanks alot again Edited September 2, 2005 by matricks
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now