How can i drag some words from browser into the inputbox? (ie,ff,chrome,maxthon...)
thanks.
drag words from browser to ahk gui.
Re: drag words from browser to ahk gui.
this is not a drag&drop ( drag&drop for files work )
but can use alt+F6 to send marked text to GUI edit
but can use alt+F6 to send marked text to GUI edit
Code: Select all
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
edcol1=white
edcol2=yellow
edcol3=red
GUI,2:+AlwaysOnTop
Gui,2: Color, ControlColor, Black
Gui,2: Font, CDefault, FixedSys
Gui,2:Add, Edit, x5 y10 w800 h100 c%edcol1% vF1,
GUI,2:show, NA W820 H130 X20 Y0, Mark Text and use alt+F6
return
;----------------------------------------------------------
2GuiClose:
ExitApp
*~$!F6::
sc=ahk_class AutoHotkeyGUI
classNN=Edit1
C2=
Clipboard := ""
Send, ^c
sleep,100
clipwait,1
C2:=clipboard
if (ErrorLevel)
return
IfWinNotActive ,%SC%,,WinActivate,%SC%
WinWaitActive,%SC%
ControlSend,%classnn%,%c2%`n,%sc%
return
;=========================================================
/*
2GuiDropFiles:
Loop, parse, A_GuiEvent, `n
GuiControl,2:,F1,%A_LoopField%
;goto,showText2
return
*/
;=========================================================
Re: drag words from browser to ahk gui.
Thanks a lot.
It is useful to me.
Drag and drop still is amazing method.
It is useful to me.
Drag and drop still is amazing method.
Who is online
Users browsing this forum: No registered users and 142 guests