Home Back E-mail



Hypertext simulation in FileMaker Pro (Win)


FMP has no built-in possibility to tag words in a text field as hyperlinks. A solution that approaches such a feature a good deal is to use an external keyboard macro program, in this case AutoIt. The following macro, saved as a text file "wordselect.aut" and subsequently compiled with AutoIt's "aut2exe.exe" into wordselect.exe (50 K) will select any word your cursor is on. The button for activation has to be outside of the field and must not be the field itself. Once selected, you can continue with copying, pasting into another text field for validating the selected word and perform any action you want.

To safeguard the integrity of the text file you should prevent it from modification, e.g. by presenting the text in a password-protected file that does not allow editing, but allows browsing. This works well for text fields with vertical scroll bars, too. It is advisable to highlight such hypertext words, e.g. by underlining them and presenting them in a blue colour.

The macro goes as follows (case sensitive!):

Sleep, 300
Send, ^{RIGHT}
Sleep, 200
Send, ^{LEFT}
Sleep, 400
Send, ^+{RIGHT}
Good luck!

Back to the list of my FileMaker Pro trouvailles

Home Back to Christoph Bouthillier Top

© 1997...