Jump to content

Recommended Posts

Posted

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.

Posted

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)

NEWHeader1.png

Posted

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.

Posted

Odd. I've been able to create an RTF that shows up as below in AbiWord:

however 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:

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...