mysticduck Posted October 16, 2016 Share Posted October 16, 2016 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. Link to comment Share on other sites More sharing options...
Nikolas92 Posted October 16, 2016 Share Posted October 16, 2016 $hWnd = WinWait("[TITLE:YOUR WINDOW TITLE HERE;CLASS:YOUR WINDOW CLASS HERE]", "") ControlSend($hWnd, "", "YOUR CONTROL HERE", "y") Link to comment Share on other sites More sharing options...
corgano Posted October 19, 2016 Share Posted October 19, 2016 Mind telling me what JRT is? What does it stand for? What is the name of the program? 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e Link to comment Share on other sites More sharing options...
spudw2k Posted October 19, 2016 Share Posted October 19, 2016 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. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
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