GetURLAtSelection ( )
Gets the URL in a textfield
Be the first to rate this function Log in to vote
Mars Aussendorf - Show more from this author
Mars Consult |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
When entering a field, this function will return the URL if it is at the position where you click.
Apply in a triggered script (OnObjectEnter) to actually open the URL.
Use this function in conjunction with my CF 'Format_URLs' to have URLs highlighted in the textfield.
This CF is based on the excellent idea of Wakido: https://web.wakido.com/downloads/hyperlinks-in-text-fields/
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.