mysticduck

Can't send keystroke to JRT

4 posts in this topic

Hello

 

  I am just learning Autoit and have been messing with this for the last few hours.  I'm trying to send a keypress to JRT to start the removal process.  Here's what I've come up for as a script, JRT is assumed to already be running.

winactivate ( "Admin" )
WinWaitActive ( "Admin" )
send ( "y" )

The window activates properly, but doesn't seem to acknowledge the keypress.  I tried setting the flag on send as 0 and 1, no difference.  Haven't tried SendControl because of the warning it gives with console windows.  Any help is appreciated.

Share this post


Link to post
Share on other sites



$hWnd = WinWait("[TITLE:YOUR WINDOW TITLE HERE;CLASS:YOUR WINDOW CLASS HERE]", "")
ControlSend($hWnd, "", "YOUR CONTROL HERE", "y")
 

Share this post


Link to post
Share on other sites

Mind telling me what JRT is? What does it stand for? What is the name of the program?


0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Share this post


Link to post
Share on other sites

I'm assuming JRT is Malwarebytes' Junkware Removal Tool, since you mentioned console.

You can use the StdIn/StdOut functions to interact with a console process.

Share this post


Link to post
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