SHARE
TWEET

PWI Title Renamer

a guest Jul 16th, 2010 278 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoTrayIcon
  2. #include <NomadMemory.au3>
  3. $vCharBase = 10436384 ;Probably needs to be updated after a larger PWI Update
  4.  
  5. $vList = WinList("[CLASS:ElementClient Window]")
  6. For $i = 1 To $vList[0][0]
  7.         $vOpen = _MemoryOpen(WinGetProcess($vList[$i][1]))
  8.         WinSetTitle($vList[$i][1], "", "Perfect World [" & _MemoryRead(_MemoryRead($vCharBase, $vOpen), $vOpen, "wchar[16]") & "]")
  9.         _MemoryClose($vOpen)
  10. Next
RAW Paste Data
Top