I published a GUI that had a RichTextBox control and enabled multiple URLS in it by adding $output.add_linkclicked({Start-Process -FilePath $_.linktext}).
Hyper links worked, however, actual URLs are shown like below. I'd like to know how to hide the actual URLs. Do we have any way to do it?
Click here! <actual link>
Thank you.
PowerShell GUI - Hide actual URLs in RichTextBox
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
-
- Posts: 4
- Last visit: Fri Mar 15, 2024 2:40 am
- Has voted: 1 time
Re: PowerShell GUI - Hide actual URLs in RichTextBox
The following will show how to make a text tagged URL.
https://stackoverflow.com/questions/285 ... -hyperlink
Here is how to use an object: https://stackoverflow.com/questions/123 ... -paragraph
https://stackoverflow.com/questions/285 ... -hyperlink
Here is how to use an object: https://stackoverflow.com/questions/123 ... -paragraph