Jump to content

AutoIT does not pursue / continue


Recommended Posts

Good evening everyone! 
 
I apologize for my English I am Brazilian and I am using Google Translate, 
I have a problem that I believe is virus but not sure 
while my AutoIT latest version does not continue execution of the recorded Au3Record automation, and the same file works on another computer with AutoIT, 
however going into safe mode files function normally. 
 
What can this happening? 
 
I've used Malwarebytes Anti-Malware and did not detect any virus.
Link to comment
Share on other sites

Ok the following code, remembering that worked perfectly, now only in Safe Mode.

 

#region --- Au3Recorder generated code Start (v3.3.9.5 KeyboardLayout=00000416)  ---

 
#region --- Internal functions Au3Recorder Start ---
Func _Au3RecordSetup()
Opt('WinWaitDelay',100)
Opt('WinDetectHiddenText',1)
Opt('MouseCoordMode',0)
Local $aResult = DllCall('User32.dll', 'int', 'GetKeyboardLayoutNameW', 'wstr', '')
If $aResult[1] <> '00000416' Then
  MsgBox(64, 'Warning', 'Recording has been done under a different Keyboard layout' & @CRLF & '(00000416->' & $aResult[1] & ')')
EndIf
 
EndFunc
 
Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc
 
_AU3RecordSetup()
#endregion --- Internal functions Au3Recorder End ---
 
 
Run('C:PU_PrincipalTeamViewer_Setup.exe')
_WinWaitActivate("Instalação de TeamViewer 8","Bem-vindo ao TeamVie")
Send("{ENTER}")
_WinWaitActivate("TeamViewer","Pronto para a conexã")
Send("{ALTDOWN}{F4}{ALTUP}")
_WinWaitActivate("TeamViewer","")
Send("{ALTDOWN}{F4}{ALTUP}")
#endregion --- Au3Recorder generated code End ---

 

Link to comment
Share on other sites

  • Moderators

Is there a reason you are trying to automate the GUI installation of TeamViewer, rather than just doing a silent install?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

No, the silent mode is welcome but would like the installation GUI also worked as before.

I am currently researching possible conflicts of AutoIT to understand why it works in Safe Mode, another thing to add is that it has worked very slowly and then there goes the left of the second command, this only happens now with AutoIT. 
 
I'm trying to run Combofix but displays the error NSIS_Error
Edited by Jonatas
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...