ich hab mal en Frage:
Code:
HOTKEYSET("!s","scan")
#include <nomadmemory.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Scan", 145, 73, 192, 124)
$Button1 = GUICtrlCreateButton("Start", 16, 8, 107, 57, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$PID = WinGetProcess("*******")
$info = _MemoryOpen($PID)
$xD = ("C:\Dokumente und Einstellungen\lol\Eigene Dateien\Scan.ini")
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $button1
ControlSend("Scan","!s","","")
if Send("!s") then MsgBox(0,"Info","Fertig")
EndSwitch
WEnd
Func scan()
$read = _MemoryRead("\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86", $info)
$read = _MemoryRead("\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86", $info)
$read = _MemoryRead("\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86", $info)
IniWrite($xD,"value1 :", "",$read)
IniWrite($xD,"value2 :", "",$read)
IniWrite($xD,"value3 :", "",$read)
EndFunc
THX






