Search the Community
Showing results for tags 'click link'.
-
I'm trying to make a clickable link in a GUI with the following code: #include <GUIConstantsEx.au3> Opt("GUIOnEventMode", 1) $hGUI = GUICreate("Test", 300, 200) $label = GUICtrlCreateLabel("www.autoitscript.com", 50, 80, 200, 30) GUICtrlSetFont(-1, 16, 100, 4) GUICtrlSetColor(-1, 0x000000) GUICtrlSetCursor($label,0) GUISetOnEvent($label, "labelFun") GUISetState() ; set loop to make GUI persistent: While 1 sleep(100) WEnd ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Func labelFun() ConsoleWrite("label clicked" & @CRLF) ShellExecute('http://www.autoitscript.com') ; open web site when clicking label EndFunc I don't even have a suggestion for why this doesn't work, I'm very confused! Thanks for any help offered
- 2 replies
-
- clickable label
- clickable link
-
(and 2 more)
Tagged with:
-
Hi all, I tried function _FFLinkClick() in FF.au3. And i have a problem, i intend click 2 or more links, when use _FFLinkClick() to click links (after click the link will be opened a new tab), i must wait the first load finish to click the second link. Anybody can tell me the wait set time out when click link in firefox, I want after click the first link, i can click the second link now, without must not wait the first link load finish. Thank all very much.
- 1 reply
-
- Time out
- click link
-
(and 1 more)
Tagged with: