September 4, 200619 yr Is it possible to grab a highlighted selection in a Web viewer then have FM 8.5 pass that string to a search engine. I've got this working fine with FM's own fields but can't seem to make it happen with Web viewers. FM's Get(ActiveSelectionStart) and Get(ActiveSelectionSize) both require a field as a starting point.
September 4, 200619 yr Hi don't use Get(ActiveSelectionStart) and Get(ActiveSelectionSize). Use: drag and drop or, within a script (after you had made the selection): Copy[ ] Paste[select; yourDB::yourField]
September 5, 200619 yr Author What I'm trying to do is perform a user-defined Web search on a selection of text. Works great for text fields using the Get functions described above. It's all triggered by a button click. In the case of a Web viewer, you lose your selection as soon as you click the button. See the problem? I can use the GetLayoutObjectAttribute function with the "content" attribute, but it will return the entire Web viewer content, not a selection.
Create an account or sign in to comment