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

Recommended Posts

Posted

Hi Everyone,

I've a script to change the colour of some selected text, and in that vein I'd like to make one that changes the line spacing so that I can have indented paragraphs that look like bullet point lists, is this possible?

The way to do it long hand is to go Format > Line Spacing > Other, and in my case it would be Left 0.8 and First -0.3 (as attached screen grab), but I can't figure out or find any answers on the web if it's possible to do this via a script, for the selected paragraphs / text?

My FM version is 19.6.3

Many thanks for any ideas :)

Screenshot 2025-01-06 at 09.30.03.jpg

Posted

Thanks for getting back to me Fitch, and I guess I'll just keep going to the menu to do it!

All the best :)

Posted

I have a vague recollection of a method that kept a formatted character in a global text field and somehow inserted this character in front of a text in order to apply the character's formats to that text. I am afraid I don't know the details.

 

Posted

Thanks Comment, I'd found this:
https://community.claris.com/en/s/question/0D53w000054L1ihCAC/setting-line-spacing-with-a-script-possible
Which was similar, though it's about being able to format whole fields and I'm trying to just use particular sections within a field's text.

and you might have been thinking of this:
https://community.claris.com/en/s/question/0D53w000069UD1tCAG/soft-return-in-calculated-field-text
which is about using a calculation field, which doesn't work for me (though I don't really understand it!)

Thanks though, and all the best,

Posted

I don't think those links are relevant to what I had in mind. Alas, I don't remember anything beyond what I already told you.

I'll try and do a search later if I have the time.

 

Posted

wow Comment, you have an incredible archival knowledge of FM! 🙌
I've had a look at it, and it mainly seems out of my understanding, but I'll come back to it over the weekend and see if I can get things going!
All the best :)

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.