Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Plugins ➜ New Hyperlink_URL2 version

New Hyperlink_URL2 version

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by Worstje   Netherlands  (899 posts)  Bio
Date Reply #15 on Wed 25 Apr 2012 08:02 AM (UTC)
Message
.. These weeks are not my weeks. I swear I read the docs before posting... but I'm apparently very, very blind nowadays. Dooh. I guess I saw the examples and missed the notes hidden inbetween them. :(

Thanks for being patient with me. :-)
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #16 on Wed 25 Apr 2012 08:47 AM (UTC)
Message
It's not you Worstje, it's me.

:)

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by KedarOthort   (3 posts)  Bio
Date Reply #17 on Sun 23 Dec 2012 03:11 AM (UTC)
Message
Where do I add that Lua option for NoUnderline to make it work?
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #18 on Sun 23 Dec 2012 03:33 AM (UTC)
Message
In this code:


			Hyperlink(
				hyperlinks[v.hyperlink_number].text -- Hyperlink
				,string.sub(line, v.startpoint, v.endpoint) -- Displayed text
				,"Go to " .. hyperlinks[v.hyperlink_number].text -- Hover text
				,RGBColourToName(v.textcolour) -- Foreground color
				,RGBColourToName(v.backcolour) -- Background color
				,1 -- Boolean: Open as a URL?



There are six arguments. To add the 7th, you need to add one more, eg.


			Hyperlink(
				hyperlinks[v.hyperlink_number].text -- Hyperlink
				,string.sub(line, v.startpoint, v.endpoint) -- Displayed text
				,"Go to " .. hyperlinks[v.hyperlink_number].text -- Hover text
				,RGBColourToName(v.textcolour) -- Foreground color
				,RGBColourToName(v.backcolour) -- Background color
				,1 -- Boolean: Open as a URL?
                                ,true -- NoUnderline


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by KedarOthort   (3 posts)  Bio
Date Reply #19 on Sun 23 Dec 2012 05:59 AM (UTC)
Message
Added that line, URL's are still being underlined...
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #20 on Sun 23 Dec 2012 07:54 AM (UTC)
Message
Template:version Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.


Did you re-install the plugin?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by KedarOthort   (3 posts)  Bio
Date Reply #21 on Sun 23 Dec 2012 04:26 PM (UTC)
Message
Nick Gammon said:

(version)

Did you re-install the plugin?


I'm on Version 4.61, and yes, I reinstalled it.
Top

Posted by Fiendish   USA  (2,534 posts)  Bio   Global Moderator
Date Reply #22 on Sun 23 Dec 2012 07:10 PM (UTC)
Message
KedarOthort said:

Nick Gammon said:

(version)

Did you re-install the plugin?


I'm on Version 4.61, and yes, I reinstalled it.

This option was added in 4.76. Time to upgrade from your now almost 2.5 year old version.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #23 on Sun 23 Dec 2012 07:10 PM (UTC)

Amended on Sun 23 Dec 2012 08:12 PM (UTC) by Nick Gammon

Message
See http://www.gammon.com.au/scripts/showrelnote.php?version=4.76&productid=0

Read point 1.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


72,714 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.