本帖最后由 iori2882 于 2012-5-24 18:34 编辑
我们在下载一个东西的时候,鼠标停留在下载那软件的上面,在浏览器的左下角就会自动显示出那个下载地址,那如何能获得那个地址呢?谷歌浏览器的复制链接地址是不是也用的这种方法?
谢谢楼下2位会员的帮助 具体方法
#include <GUIConstantsEx.au3>
#include <GuiRichEdit.au3>
#include <WindowsConstants.au3>
#Include <GuiScrollBars.au3>
#include <ScrollBarConstants.au3>
Opt("GUIOnEventMode", 1)
$hGui = GUICreate("Drag & Drop Test for EDIT Control", 600, 300, -1, -1, -1, $WS_EX_WINDOWEDGE + $WS_EX_TOPMOST)
GUISetOnEvent($GUI_EVENT_CLOSE, "ExitGui")
GUICtrlCreateLabel("Rich Text Field", 20, 20)
GUICtrlCreateLabel("Drag and drop link into the rich field ... ", 20, 250, 550, -1)
GUICtrlSetFont(-1, 11, 400, -1, "Arial")
$RichEdit = _GUICtrlRichEdit_Create($hGui, "", 20, 40, 550, 200, BitOR($ES_WANTRETURN, $ES_MULTILINE, $WS_VSCROLL))
GUICtrlSetState(-1, $GUI_DROPACCEPTED)
_GUIScrollBars_ShowScrollBar($RichEdit, $SB_VERT, True)
GUISetState(@SW_SHOW, $hGui)
While True
Sleep(50)
WEnd
Func ExitGui()
_GUICtrlRichEdit_Destroy($RichEdit)
Exit
EndFunc
|