How to highlight URLs in text?
Posted 20 January 2009 - 03:47 PM
I've considered occasionally running a script to parse all text fields in my application and insert color settings. Or (in FMP 10) have a script that executes upon exiting each field, to modify them one at a time. Hopefully, someone has considered this before and can offer some insight.
Thanks for any help.
Just a Newbee to SQL
Posted 20 January 2009 - 04:26 PM
I have an idea!
Posted 20 January 2009 - 05:41 PM
FM Forums.com Founder, Administrator
Posted 20 January 2009 - 06:53 PM
It's a large text field. And I forgot to mention that it might contain more than one URL.
An interesting idea. Unfortunately, the layouts involved are somewhat set in stone so web viewer can't be used in my specific instance.
Posted 21 January 2009 - 02:40 AM
Posted 21 January 2009 - 10:08 PM
I'll probably just go for the highlight of the prefix. Oddly, though, FileMaker has an internal calculation that can exactly isolate a URL within text. It never seems to miss displaying the "Open://www......." upon a right click within the field. Too bad it can't be accessed.
Posted 21 January 2009 - 11:58 PM