reverse Posted July 7, 2006 Share Posted July 7, 2006 (edited) Hi.I'm new here and I have a problem.I want to place a link to my website in msgbox but all I can place there is just a plain text.What I want to place in my msgbox is:www.google.comWhat I can do is only:www.google.com(no link)I will apreciate any help.Best regards. Edited July 7, 2006 by reverse Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 7, 2006 Moderators Share Posted July 7, 2006 You could make your own MsgBox() from a GUI and use Gary's GUI Hyper Link UDF Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
MHz Posted July 7, 2006 Share Posted July 7, 2006 Here is a Msgbox with a link that works #include <GUIConstants.au3> #region - GUI Create GUICreate('Weblink', 200, 80) $label = GUICtrlCreateLabel('www.google.com', 50, 10, 150) GUICtrlSetColor($label, 0x5533FF) GUICtrlSetFont($label, 9, 400, 4) GUICtrlSetCursor($label, 0) $button = GUICtrlCreateButton('OK', 50, 40, 100) GUISetState() #endregion #region - GUI SelectLoop While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit Case $msg = $label Run(@ComSpec & ' /c start www.google.com', '', @SW_HIDE) Case $msg = $button ExitLoop EndSelect WEnd #endregion Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now