Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/22/2022 in all areas

  1. Which AutoIt3Wrapper version is this? v 22.611.2153.14 has this line commented already!
    1 point
  2. I found that the 64 bit version works for me in windows 7 but crashes in windows 10 unless i turn off high entropy ASLR for some reason. If i turn off high entropy ASLR then it works ok. This dll call is what is causing the crash: Local $Ret = DllCall("user32.dll", "uint", "CallWindowProc", "ptr", $CodeBufferPtr + $AP_Decompress, _ "ptr", DllStructGetPtr($Output) + 4, _ "ptr", DllStructGetPtr($Result), _ "int", 0, _ "int", 0) I believe the posts on these pages may be discussing a similar crash and maybe a solution but it is beyond my understanding. https://social.msdn.microsoft.com/Forums/en-US/97256987-157e-4601-b22b-f77f43e33926/getting-crash-when-calling-callwindowproc-function-in-migration-from-vs60-to-vs2015 https://social.msdn.microsoft.com/Forums/en-US/7820bf8c-0540-49b6-bf86-2a39db09add1/getting-crash-when-calling-callwindowproc-function-in-migration-from-vs60-to-vs2015
    1 point
  3. I personally like to use AdLibRegister() when I need things to repeat or be time based. https://www.autoitscript.com/autoit3/docs/functions/AdlibRegister.htm Normally it's used for things to repeat over and over in a small time window, but I see no reason it can not be used for long duration's as well. So you can get a pretty easy to built, read, and modify script with framework like this: AdlibRegister("_Terminate", 1000*60*60*3) ;3 Hours AdlibRegister("_KeepAlive", 1000*30) ;30 Seconds While 1 Sleep(10) WEnd Func _Terminate() Exit EndFunc Func _KeepAlive() ;If WinExists or If ProcessExists Then ;ControlClick() ;Else ;_Terminate() ;EndIf EndFunc
    1 point
×
×
  • Create New...