Skip to content

Instantly share code, notes, and snippets.

@hashtafak
Last active August 14, 2022 11:20
Show Gist options
  • Save hashtafak/9de24caf953c02bbd14206050d5bdc25 to your computer and use it in GitHub Desktop.
Save hashtafak/9de24caf953c02bbd14206050d5bdc25 to your computer and use it in GitHub Desktop.
Just Close WinRAR "Please purchase WinRAR license" Windows
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.14.5
Author: fckRAR
Script Function:
Just Close WinRAR "Please purchase WinRAR license" Windows
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
Opt("TrayIconHide", 1)
While True
Sleep(1000)
; $pid = ProcessWait("winrar.exe", 100)
;If ($pid > 0) Then
If ProcessExists("winrar.exe") Then
If WinExists("Please purchase WinRAR license", "Please note that WinRAR is not free software.") Then
WinClose("Please purchase WinRAR license", "Please note that WinRAR is not free software.")
EndIf
If WinExists("[CLASS:RarReminder]") Then
WinClose("[CLASS:RarReminder]")
EndIf
EndIf
WEnd
@hashtafak
Copy link
Author

Last Update: Perform .exe consume less than 1% cpu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment