Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Devic
USA (2 posts) bio
|
| Date |
Sun 28 Nov 2010 10:43 PM (UTC) [ quote
] |
| Message |
| I am wanting to create triggers that substitute the text received (or part of the text received) with a hyperlink which allows it to be clickable and perform the command (really lazy mudding!). Some hyperlinks I would rather have text added to the input bar (er, text bar.. command bar? whatever it is at the bottom that you type in). Or in possibly rare situations make a list off of the link. I've been trying to find the possible commands to do this, but I haven't found them yet. Any assistance would be GREATLY appreciated. Thank you! | top |
|
| Posted by |
Nick Gammon
Australia (18,770 posts) bio
Forum Administrator |
| Date |
Reply #1 on Sun 28 Nov 2010 11:14 PM (UTC) [ quote
] |
| Message |
There is an example of that in the Hyperlink_URL2 plugin. See:
http://www.gammon.com.au/plugins/
The basic technique is to omit the desired lines from output, and then substitute with a line with hyperlinks in it.
You can call functions from hyperlinks by using the special syntax documented there, and those functions could show lists, change the command window etc.
http://www.gammon.com.au/scripts/doc.php?lua=utils.listbox
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
| Posted by |
Devic
USA (2 posts) bio
|
| Date |
Reply #2 on Mon 29 Nov 2010 01:36 AM (UTC) [ quote
] |
| Message |
| Awesome! Thanks Nick, always very quick and helpful! That is exactly what I was looking for, and already started working with it! :) | 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.
756 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )