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: