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

Button script to change selected text


Go to solution Solved by comment,

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

Recommended Posts

  • Newbies
Posted

I want to change selected text to blue (#0090cd) with a button script. I would v. much apprecitate details of the exact script I need.

  • Solution
Posted

You don't really need an actual script for this; you can use a single script step of Insert Calculated Result , with the following calculation:

TextColor ( Middle ( Get ( ActiveFieldContents ) ; Get ( ActiveSelectionStart ) ; Get
( ActiveSelectionSize ) ) ; RGB ( 0, 144, 205 ) )

Leave both options of Select entire contents and Target: unchecked.

 

  • Thanks 1

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