Jump to content

Imgur UDF 1.0.0 1.0.0

   (0 reviews)

1 Screenshot

About This File

3DnpAc4.png

This is an AutoIt UDF to help you upload images using Imgur API.

Simple example:

#NoTrayIcon
#include 'Imgur.au3'

Global $fp = FileOpenDialog('Open', @ScriptDir, 'Images (*.jpg;*.gif;*.png;*.bmp)', 1)

If Not @error Then
    Local $image_url = _imgur_upload($fp)

    If @error Then
        MsgBox(16 + 262144, 'Error', 'Upload image failed!')
    Else
        ; Open with default browser
        ShellExecute($image_url)
    EndIf
EndIf

Github: https://github.com/J2TeaM/AutoIt-Imgur-UDF


User Feedback

Recommended Comments

There are no comments to display.

×
×
  • Create New...