Thread: Login script
View Single Post
  #4  
Old 11-19-2017, 11:30 PM
Maze_EQ
Demi-God
 
Join Date: Mar 2012
Posts: 1,106
Default

Heres some old AHK Stuff for memory reading a certain toggled window.

Code:
#NoEnv  
; #Warn s
SendMode Input 
SetKeyDelay 30, 50
SetWorkingDir %A_ScriptDir%  
#SingleInstance force
#Persistent
KeyWait, Delete, D
WinGet,hwnd,id,ahk_pid %A_LoopField%
hwnd := MemoryOpenFromPID(A_LoopField)
pointer := MemoryRead(hwnd, 0x00580B08)
tmpvita := MemoryRead(hwnd, pointer+0x100)
MsgBox,4,,Hit yes if this is your vita: %tmpvita% otherwise hit no
IfMsgBox, Yes
{
hwndy := MemoryOpenFromPID(A_LoopField)
goto, pidselected
}
}
pidselected:
__________________
"No, thanks, man. I don't want you fucking up my life, too."

Skype:
Comerian1
Reply With Quote