Skip to content

Commit

Permalink
cute demo
Browse files Browse the repository at this point in the history
  • Loading branch information
iseahound committed Jun 17, 2022
1 parent 5b36f01 commit db5b558
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions demo.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
#include *i ImagePut (for v%true%).ahk
#singleinstance force

; This script runs on both AutoHotkey v1 and v2.
hwnd := ImagePutWindow("https://picsum.photos/500", "Thank you for trying ImagePut ?")
; Show image in window.
hwnd := ImagePutWindow("https://picsum.photos/1000/200", "Thank you for trying ImagePut ?")

; Save the image as a file.
ImagePutFile(hwnd)
; Save image to file.
filepath := ImagePutFile("https://i.imgur.com/cCyb8bq.gif")

; Copy the window handle to the clipboard.
ImagePutClipboard(hwnd)
; Display images without borders. Right click image to close.
ImageShow(filepath)

0 comments on commit db5b558

Please sign in to comment.