Code: Select all
Gui, New, +AlwaysOnTop, ,Bilder Snapshoot
Gui, Add, Edit, x10 y10 w120 vName
Gui, Add, Button, x90 y50 gDaten, Speichern
Gui, Show, x1400 w250 h100, Name eintragen
return
Daten:
Gui, Submit ;, nohide
Gui, Cancel
pToken := Gdip_Startup()
snap := Gdip_BitmapFromScreen(745 "|" 314 "|" 112 "|" 69)
Gdip_SaveBitmapToFile(snap, "g:\_Knights & Brides Tool\Bilder\Versuch\%Name%.bmp")