Adam1213 Posted December 3, 2005 Share Posted December 3, 2005 I was wanting to have a link in an edit box it would need to move IRC Client - 75 pages 3728 lines. Blob crumbler (game)Backup (drag to backup + cmd line)RS232 Link to comment Share on other sites More sharing options...
themax90 Posted December 3, 2005 Share Posted December 3, 2005 I do not think you can have a link in an edit box but you can make a label into a link and move it according to where you want it. But then again, I may be wrong. Link to comment Share on other sites More sharing options...
Valuater Posted December 3, 2005 Share Posted December 3, 2005 the edit box could say www.autoit3.com and when iy is clicked on you could read the control... find what was clicked... see that it was this link... then run the explorer & link 8) Link to comment Share on other sites More sharing options...
Adam1213 Posted December 4, 2005 Author Share Posted December 4, 2005 in that case I guess I will have to write something to get the position of text in an edit box and make a label stay behind it IRC Client - 75 pages 3728 lines. Blob crumbler (game)Backup (drag to backup + cmd line)RS232 Link to comment Share on other sites More sharing options...
Valuater Posted December 4, 2005 Share Posted December 4, 2005 better yet... just change this guictrlcreateedit to guictrlcretelist then each one is singularly selected by guictrlread no sorting is needed 8) Link to comment Share on other sites More sharing options...
LxP Posted December 4, 2005 Share Posted December 4, 2005 You may wish to check out Lazycat's RTF plugin (which will need the beta to work). Link to comment Share on other sites More sharing options...
Adam1213 Posted December 4, 2005 Author Share Posted December 4, 2005 (edited) You may wish to check out Lazycat's RTF plugin (which will need the beta to work). It does colour reall nicely thanks (I was wanting that) but it does not add links to URLS Edited December 4, 2005 by Adam1213 IRC Client - 75 pages 3728 lines. Blob crumbler (game)Backup (drag to backup + cmd line)RS232 Link to comment Share on other sites More sharing options...
LxP Posted December 4, 2005 Share Posted December 4, 2005 I don't know the specifics as I've not used the plugin, however RTF has the capability to embed hyperlinks. I might download the plugin now and take a look. Link to comment Share on other sites More sharing options...
LxP Posted December 4, 2005 Share Posted December 4, 2005 Odd. I've been able to create an RTF that shows up as below in AbiWord: AutoIt Forumshowever when I create an AutoIt GUI using the following code: Local $RTFPlugin = PluginOpen('RTFPlugin.dll') Local $GUI = GUICreate('Hyperlink Test', 320, 240) GUISetState() Local $RTFControl = GUICtrlCreateRTFEdit($GUI, 12, 12, 320 - 24, 240 - 24) GUICtrlRTFLoad($RTFControl, 'LinkTest.rtf') Sleep(2000) PluginClose($RTFPlugin) the RTF file shows up precisely like this: AutoIt Forums <http://www.autoitscript.com/forum/>that is, the URL is shown instead of being clickable; so now I'm not so sure how to achieve hyperlinks using the RTF plugin. Perhaps Lazycat himself will chance upon this thread and offer some advice. 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