Jump to content
Server Maintenance This Week. ×

Formatting a text through a script


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

Recommended Posts

Hello,

We are trying to find a specific word in a string, and so that we are able to apply a bold or color text style (through a script method, applescipt or SQL).

Can anynone solve this problem?

We are using FileMaker 6.

Thanks, Best Regards.

Version: Developer v6

Platform: Mac OS X Jaguar

Link to comment
Share on other sites

Are you trying to make the word used in the search bold or coloured?

Try using the "Perform Find / Replace" (not the Perform Find step) script step in FMP 6 to find the word. The tough part will be applying the formatting. It should be relatively straight forward in FMP 7, but a lot of work in FMP 6 to get anything remotely satisfactory.

Ray has a demo of a technique on his web site

http://www.nightwing.com.au/filemaker/

Link to comment
Share on other sites

HI! We are using The Autovalidate, Version 1.0.7, and we are constructing a customized error message. We used the command "autovalidate_showerror", but the return error message is "The field cannot be empty" (the field is required!).

The command is ok, but we need that message in portuguese!!! Can anyone help us?:

THANks!

Version: Developer v6

Platform: Mac OS X Jaguar

Link to comment
Share on other sites

Please post this question in the Lasso forum, This forum is for tips and demo files, not questions.

(I didn't realise it was the Tips forum when I answered the post above. otherwise I'd have told them the same thing.)

Link to comment
Share on other sites

I will SWEAR that this post was in the Articles, Tips and Hints forum.

My apologies.

"What am I missing?"

You're getting way too much sleep. *sigh*

Link to comment
Share on other sites

Hi, if you are just looking to find each occurence of strings in the text and format them, perhaps a calculation field would work:

Substitute(thetext,"My word string","<b>My word string</b>")

and so on for each case

and then call that as

[FMPro-Field:thenewtext.RAW]

so that the tags worked

...or am I being too simple??

regards, jeff

Link to comment
Share on other sites

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