Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Keyboard Shortcut for Text Color

Featured Replies

What I want to do is manually select a word or two and hit a keyboard shortcut that turns the text color to red.

I have (on my Mac) Keyboard Maestro, which can select a menu and/or do all sorts of UI tasks. But to change to red you have to select a swatch from a palette.

I think the solution will be to make a script that does something similar to TextStyleAdd (red). Then I can just select that script from the script menu.

But the script creation window seems to allow only a few commands, none of them related to text.

Can I do this?

the script creation window seems to allow only a few commands, none of them related to text.

That is correct; you need to use a calculation in your script, for example:

Insert Calculated Result [ TextColor ( Middle ( Get ( ActiveFieldContents ) ; Get ( ActiveSelectionstart ) ; Get ( ActiveSelectionSize ) ) ; RGB ( 200 ; 0 ; 0 ) ) ]

  • Author

Yes, the Insert Calculated Results command is what I was missing.

Trying your example, it turns the entire field red! All I want to do is select a couple words and have the script turn those words red.

Thanks.

  • Author

Duh. I had the select all checkbox checked. Many, many thanks.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.