Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv
- SendMode Input
- SetWorkingDir %A_ScriptDir%
- #SingleInstance force
- Needle := "Can't open clipboard for writing"
- while (1 = 1)
- {
- IfWinExist, RGCAdminBotv2.9.1.exe
- {
- WinActivate, RGCAdminBotv2.9.1.exe
- WinGetText, OutPutVar, RGCAdminBotv2.9.1.exe
- if ( ! ErrorLevel )
- {
- ; MsgBox % OutPutVar . " " . InStr(OutPutVar,Needle)
- if ( InStr(OutPutVar,Needle))
- {
- ; MsgBox Found
- WinClose, RGCAdminBotv2.9.1.exe
- }
- }
- }
- IfWinNotExist, Ranked Gaming Client
- {
- WinWait, Ranked Gaming Client,,60
- if ( ErrorLevel )
- {
- process, Close, rgc.exe
- Sleep 2000
- Send ^p
- }
- }
- Sleep 10000
- }
Add Comment
Please, Sign In to add comment