Post by nacken012 » 05 Feb 2024, 00:25
Hallo Leute, stehe irgendwie auf dem Schlauch und bekomme es nicht hin als Bildname eine Variable anzugeben
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")
Hallo Leute, stehe irgendwie auf dem Schlauch und bekomme es nicht hin als Bildname eine Variable anzugeben
[code]
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")
[/code]