upload screenshot

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
channel3dflip
Posts: 9
Joined: 10 May 2020, 04:42

upload screenshot

Post by channel3dflip » 08 Aug 2021, 06:53

dose anyone know how to make a ahk script that take a screenshot and upload it to a imgur or discord webhook?


User avatar
emrekarahan0001
Posts: 25
Joined: 18 Jan 2021, 14:19

Re: upload screenshot

Post by emrekarahan0001 » 09 Aug 2021, 05:46

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

Post Reply

Return to “Ask for Help (v1)”