Hello everyone,
I've noticed that double-clicking on the image saves the image path to the clipboard. Could someone please explain why this happens?
Thank you very much!
I've noticed that double-clicking on the image saves the image path to the clipboard. Could someone please explain why this happens?
CODE:
#Requires Autohotkey v2.0
#SingleInstance Force
bid := "2277"
SG := Gui("+Resize", "Yr")
SG.BackColor := "White"
SG.Add("Picture", "w150 h150 xm", "ICO\" bid ".jpg").OnEvent("DoubleClick", OpenPic)
SG.OnEvent("Close", SG_Close)
SG.OnEvent("Escape", SG_Close)
SG.Show("w600 h600")
OpenPic(CtrlObj, Info){
SG.Opt("+OwnDialogs")
MsgBox A_Clipboard
Run(A_ScriptDir "\" CtrlObj.Text)
}
SG_Close(*){
ExitApp()
}
Thank you very much!
Statistics: Posted by Loop — Today, 17:57