Code:
#include <NoMadMemory.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <ButtonConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("xD", 195, 112, 192, 124)
$Button1 = GUICtrlCreateButton("Info", 64, 8, 65, 65, $WS_GROUP)
$Button2 = GUICtrlCreateButton("set", 8, 8, 49, 65, $WS_GROUP)
$Button3 = GUICtrlCreateButton("run", 136, 8, 49, 65, $WS_GROUP)
$Input1 = GUICtrlCreateInput("Wert hier eingeben", 8, 80, 169, 21)
GUISetState(@SW_SHOW)
While True
$pid = WinGetProcess("Solitär")
$hprocess = _MemoryOpen($pid)
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$read = _MemoryRead(0x0A9428, $hprocess)
MsgBox(0,"Title", "Memory: " & $read)
Case $Button2
$write = _MemoryWrite(0x0A9428, $hprocess, GUICtrlRead($Input1))
Case $Button3
Run("sol.exe")
EndSwitch
WEnd
Habs mal ein bisschen aufgeräumt ^^
Wenn du auf "Set" drückst schreibt das Programm die Eingabe von deinem Inputfeld in den Speicher