Jump to content

Send key background windows


Recommended Posts

$key = "{Enter}"



$winList = WinList('[CLASS:netlimiter4]')


   For $i = 1 to $winList[0][0]

      $title = $winList[$i][0]
      $handle = $winList[$i][1]
      $controlid = ""
      $text = ""
      ControlSend($handle,$text,$controlid,$key)


      Next
      Exit

Can somebody help me edit this script to instead detect the window title, detect the window exe.

I tried edit:
 

$winList = WinList('[CLASS:netlimiter4]')

To

$winList = WinList('[CLASS:netlimiter.exe]')

 

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