Jump to content

fields2grand

Members
  • Posts

    3
  • Joined

  • Last visited

fields2grand's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I'd like to get real specific here. My script has not changed from the first post. I am unable to run the switch /runupdate without getting a registration error so I'm stuck with my 8th line with the switch as /updateshowdialog. I need put something between Line 8 and 9 that will hit ok for me but it's not working for me. So when line 8 kicks in, it updates the defs with a green status bar. This window stays open and another box comes up that says update complete. Between line 8 and 9 i have entered a sleep command for 120 seconds and then sent an enter command. It does nothing. If I manually hit enter, the update boxes go away and continues onto line 9 that starts a quick scan. The script does everything I want it to do except hitting OK at the update successful box and continuing with the script. I appreciate you taking the time to read this.
  2. After doing some digging it appears that the free version doesn't support the -silent switch. So I'm still getting stuck. The database updates successfully and then the box pops up "database successfully updated" I tried to enter a sleep command for 60 sec then an ENTER command but no go. I don't think I'm cut out for this stuff. Looks like fun stuff. Could be very useful if I knew what I was doing lol!!!
  3. Hello Folks! Just came across this site after deciding to automate a Malwarebytes install. Like so many others before me I think i've racked my brain to the point where I can't get it so here I am. The script works great all but for one step. After the program updates, a dialog box pops up and says that the database was successfully updated. I tried Winwaitactive then enter to try to get it to get out of that prompt and continue with my quickscan but it just won't go. I'm posting the code below. I've been editing between lines 8 and 9, the last two commands. Please help!!! $ver=FileGetVersion("C:\Program Files\Malwarebytes' Anti-Malware\mbam.exe") If $ver<"1.46.0.0" Then ;Check if installed. If not, do so. InetGet("http://www.malwarebytes.org/mbam/program/mbam-setup.exe", "c:\mb.exe", 0) RunWait("c:\mb.exe /SILENT") FileDelete ("c:\mb.exe") EndIf ;Installed. Update then scan. RunWait("C:\Program Files\Malwarebytes' Anti-Malware\mbam.exe /updateshowdialog") RunWait("C:\Program Files\Malwarebytes' Anti-Malware\mbam.exe /quickscanterminate") I think I'm running into troubles because there's two boxes open with Malwarebytes in the title, the update window and the dialog box saying it was successful. Thanks everyone!!! mbam2.au3
×
×
  • Create New...