upload screenshot
-
- Posts: 9
- Joined: 10 May 2020, 04:42
upload screenshot
dose anyone know how to make a ahk script that take a screenshot and upload it to a imgur or discord webhook?
-
- Posts: 1472
- Joined: 05 May 2018, 12:23
- emrekarahan0001
- Posts: 25
- Joined: 18 Jan 2021, 14:19
Re: upload screenshot
i hope this will help you
Code: Select all
F0 = https://i.imgur.com/JP5qtSC.jpg
F1 = %A_Desktop%\JP5qtSC.jpg
ifnotexist,%f1%
urldownloadtofile,%f0%,%f1%
Gui, Add, Picture, x0 y0 w560 h315, %f1%
Gui, Show, xCenter yCenter w560 h315, Picture
Return
GuiEscape:
GuiClose:
ExitApp