Ich will mein script hier nicht posten weil es dann öffentlich ist.
bin ein neuer scripter der lernen will.
also ich habe mir einen bot gebaut der auf x y & farbe reagirt
danach macht er nur x y.
so soll das auch sein aber ich will das jetzt mit
Code:
$Input1 = IniRead(@tempdir & ".config.ini","section","key", "")
nicht immer mit ein hotkay neu setzten muss.
könntet ihr mir ein kleinen tipp geben oder
mal hier schauen und sagen wie ich das speichern und laden kann.
danke
script z.B. :
Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 264, 104, 192, 124)
$Input1 = GUICtrlCreateInput("X - Achse", 8, 8, 121, 21)
$Input2 = GUICtrlCreateInput("Y - Achse", 8, 40, 121, 21)
$Input3 = GUICtrlCreateInput("Farbe", 8, 72, 121, 21)
$X = GUICtrlCreateInput("X - Achse", 136, 8, 121, 21)
$Y = GUICtrlCreateInput("Y - Achse", 136, 40, 121, 21)
$Save = GUICtrlCreateButton("Save", 144, 72, 107, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
yx (rechts) mit ein anderen knopf.
der button soll wie der name schon sagt spechern (in einer ini)







