If there's a menu, I can only right click at the beginning of the word, or it will display the generic menu with "Copy", "Copy as HTML", etc. It gets annoying because half of the time, I don't click at the right spot.
I'm using the latest version, 4.73, and the MUD is a custom codebase.
After further investigation, I have found that this issue was caused by the TextRectangle method in a script which moves the displayed text to the right.
It appears that the length of the part of the word that I can't click (at the end of the word) is the same as the Left value set in TextRectangle. If Left = 0 then I can click the whole word, and if it's a high value (like 500) I can't click the word anywhere.
So, problem solved? The text and its underlying hotspot (hyperlink) are two different things. If you move the text to the right the hyperlink (hotspot) has to move too.
Fiendish said: I just want to point out that 4.73 is not the latest version.
New versions are announced on the forums. The latest version (4.84) can be found here: http://www.gammon.com.au/forum/?id=11804 . The main product page usually lags behind by several versions.
1) I really hate to ask dumb questions, but I can't find the name of the main window (also referred to as output window, main output window, main scrolling output window) which I need to use WindowHotspotList and WindowMoveHotspot to move the hotspots. The function WindowList lists all mini-windows but not the main window.
2) I can right click single links from a <send> command (which are basically menus with one item) anywhere that I want, hence their hotspots appear to be moved automatically with TextRectangle.
After further investigation, I have found that this issue was caused by the TextRectangle method in a script which moves the displayed text to the right.
You are asking us to debug a script which you haven't shown us.