Jump to content

Sending data to inactive windows


Recommended Posts

Hello, How can I send data to inactive windows without using SendKeepActive or another smiliar functions which activates windows? I actually want to use my pc properly when an autoit script works to control a software. Heres my example which am using:

WinActivate("[CLASS:Funky Window]", "")

Do

$i += 1

$no = FileReadLine("numaralar.txt", $i)

$SL = StringLeft($no, 4)

WinActivate("[CLASS:Funky Window]", "")

SendKeepActive("[CLASS:Funky Window]", "")

Send($no)

SendKeepActive("[CLASS:Funky Window]", "")

Send("{ENTER}")

TrayTip("Arama durumu.. Toplam data: " & $Lines , $i & ". Satırdaki " & $no & " numarası aranıyor... " , 5, 1)

IniWrite($settingsini, "Line", "Line number", $i)

Sleep(6000)

SendKeepActive("[CLASS:Funky Window]", "")

Send("{ESC}")

sleep(3000)

Until $i = $Lines

Send("{ESC}")

MsgBox(64, " Durum..", "Arama tamamlandı. " & $i & " numara arandı." )

IniWrite($settingsini, "Line", "Line number", 0)

Exit

Edited by hipokrasi
Link to comment
Share on other sites

  • 1 year later...

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