Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Is there a script step that returns the location of selected text within a field? That is, if

sample = I am fond of cheese

and I have highlighted 'of', is there a function that will return

(11, 12) to indicate the start and stop of the highlight? OR any other way to acquire this information?

Posted

If you mean by "highlighted" text you have moved the cursor over and highlighted as in before a copy, no. This is a system interactions and I'm not aware of any way to access this information using FM. Maybe one of our AppleScript gurus has an idea if this is possible using that mechanism.

-bd

This topic is 8176 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.