Access event MouseOver for Hyperlinks
Access event MouseOver for Hyperlinks
hey there friends
I have seen that cant obtain the object 'event' calling a macro from hyperlink. The macro isnt receiving it as parameter....
So i am guessing how to access for example, the event 'mouseover' when the user put the mouse on the hyperlink.
I just want to reach the point with this to access the tooltip, or whatever is its name, that appears when the user put the mouse on the hyperlink.
Some good point to reach this point ?
thx in advance
I have seen that cant obtain the object 'event' calling a macro from hyperlink. The macro isnt receiving it as parameter....
So i am guessing how to access for example, the event 'mouseover' when the user put the mouse on the hyperlink.
I just want to reach the point with this to access the tooltip, or whatever is its name, that appears when the user put the mouse on the hyperlink.
Some good point to reach this point ?
thx in advance
OpenOffice last version | Mageia Linux x64 | Ubuntu Linux | Windows 8.1 Enterprise x64 | Java last version
Re: How to access event MouseOver for Hyperlinks ?
Would you please explain this? If I call a macro using a link with protocol partarfgh wrote:I have seen that cant obtain the object 'event' calling a macro from hyperlink. The macro isnt receiving it as parameter....
Code: Select all
vnd.sun.star.script:- Attachments
-
- vndTest.ods
- (10.91 KiB) Downloaded 319 times
On Windows 10: LibreOffice 25.8.4 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
---
Lupp from München
Re: How to access event MouseOver for Hyperlinks ?
It is hopeless. He does not read documentation. He does not know any programming language, not even how to follow a program in the simple StarBasic IDE (F5, F7, F8, F9). Hundreds of loose ends without conceptional knowledge.
On the other hand it is StarBasic's fault that it does not throw any error when the wrong count of arguments is passed, let alone the wrong types. The people who implemented StarBasic 26 years ago "knew" that StarBasic won't be used by serious programmers because MS had the same attitude with VBA. Taking users for fools is wrong, even if they are.
If StarBasic would behave normally with argument errors we would be the ones who had to explain why the error is thrown, what that error means, what an argument is, what data types are, how to use the IDE, all the things that should be learned before trying to program anything.
Best example, other patient: The legendary Sudoku solver for Calc with 4 weeks of nothing but very thin air. At least I learned something about making Calc add-ins from 3rd-party code, so the frustration was mild.
On the other hand it is StarBasic's fault that it does not throw any error when the wrong count of arguments is passed, let alone the wrong types. The people who implemented StarBasic 26 years ago "knew" that StarBasic won't be used by serious programmers because MS had the same attitude with VBA. Taking users for fools is wrong, even if they are.
If StarBasic would behave normally with argument errors we would be the ones who had to explain why the error is thrown, what that error means, what an argument is, what data types are, how to use the IDE, all the things that should be learned before trying to program anything.
Best example, other patient: The legendary Sudoku solver for Calc with 4 weeks of nothing but very thin air. At least I learned something about making Calc add-ins from 3rd-party code, so the frustration was mild.
Last edited by Villeroy on Sat Feb 15, 2020 6:40 pm, edited 2 times in total.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: How to access event MouseOver for Hyperlinks ?
Lupp can you show an example for writer doing exactly the same ?
OpenOffice last version | Mageia Linux x64 | Ubuntu Linux | Windows 8.1 Enterprise x64 | Java last version
Re: How to access event MouseOver for Hyperlinks ?
Simply copy the macro into a Writer document and create the link on any piece of text.
I'm afraid it won't work if the Ctrl+Click option is enabled. A bug assumably.
I'm afraid it won't work if the Ctrl+Click option is enabled. A bug assumably.
On Windows 10: LibreOffice 25.8.4 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
---
Lupp from München
Re: How to access event MouseOver for Hyperlinks ?
The Hyperlink has a move over event... so you (Edit: possibly, just an idea) could have a text frame configured to mimic a tooltip which appears on mouse over and closes on mouse leaving the text frame. You could put whatever you want in that.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Re: How to access event MouseOver for Hyperlinks ?
Jeje, yes we can use the hyperlink mouseover, but what i was meaning... is that the event isnt returning the 'event' object in order to capture it with MRI to examine where and how is the tooltip defined and used. Maybe there is other way to reach the same point i want, but i dont know it at t he moment. For that I am asking for help to achieve it. Also Jeje, that you suggested is a possible way to perform something near to what i want. But clearly AOO has something that mess with the hyperlinks tooltips... Just only time and information to catch it 
Lupp, still i want that example you did on writer, to see if perform exactly the same. I guess not. Always i ask this for writer or forms in base. I never use calc. So in calc, is useless for me. I know, even for calc, that the hyperlink script calling can also perform a custom tooltip. I know it, but it is useless for me on writer or base forms. Not working there that way to perform the custom tooltip. So it is clear that exist something to aproach it, and i have thought in the mouseover event... but i need to capture it.
Lupp, still i want that example you did on writer, to see if perform exactly the same. I guess not. Always i ask this for writer or forms in base. I never use calc. So in calc, is useless for me. I know, even for calc, that the hyperlink script calling can also perform a custom tooltip. I know it, but it is useless for me on writer or base forms. Not working there that way to perform the custom tooltip. So it is clear that exist something to aproach it, and i have thought in the mouseover event... but i need to capture it.
OpenOffice last version | Mageia Linux x64 | Ubuntu Linux | Windows 8.1 Enterprise x64 | Java last version
Re: How to access event MouseOver for Hyperlinks ?
well ? like i said calc examples are totally useless if the needed is for base. Still waiting for that same example @Lupp
OpenOffice last version | Mageia Linux x64 | Ubuntu Linux | Windows 8.1 Enterprise x64 | Java last version
Re: How to access event MouseOver for Hyperlinks ?
Apologies for having given a totally useless example.
See attachment. Explanations contained.
Forgive me, please.arfgh wrote:Still waiting for that same example @Lupp
See attachment. Explanations contained.
- Attachments
-
- vnd.sun.star.script_Example.odt
- (46.24 KiB) Downloaded 329 times
On Windows 10: LibreOffice 25.8.4 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
---
Lupp from München
Re: How to access event MouseOver for Hyperlinks ?
it's ok Lupp.. It works. Very strange that we need to disable the requirement of control + click in order to have it to works. I say that because i added links with script from macro, and i didnt have to disable that to have them working... Anyways ihave to explore this more in order to see if i can reach the tooltip text or how AOO handle that for these kind of hyperlinks with script...
OpenOffice last version | Mageia Linux x64 | Ubuntu Linux | Windows 8.1 Enterprise x64 | Java last version