Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Can FM 8.5 grab a Web viewer selection??


This topic is 6711 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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]

Posted

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.

This topic is 6711 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.