Skip 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.

Using Scripts to Format Text

Featured Replies

  • Newbies

I need to use a script to highlight changes. Can text within a field be formatted using a script (such as changing the text color or style)?

I know of no easy way to do this. You could display the text in a field in a monospaced font, overlay a second field (with a transparent background fill and a different text color) containing a word you wish to highlight with the correct number of spaces to overlay it exactly with the word in the original field. Pretty ugly and complex.

-bd

Another way that, while also somewhat ugly, is at least a bit more flexible, might be to apply formatting using an applescript with the 'do menu' command? I've experimented with this, I have a classified pagination system for a newspaper, and I have been trying to set up a 'bold' button so that they can click it to boldface highlighted words. However, I've had some trouble making the linked applescript run by pressing the button, even though when I run it from script editor, it works flawlessly. But at any rate, it does work externally, I just have it select the bold command from the menu, using a 'do menu' command, so that might be something to pursue? And if anyone has any ideas why it would not work in a button, let me know smile.gif

In earlier versions of FM you could not AppleScript from/to the file you are in. I thought this restriction was eliminated in recent versions.

-bd

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.