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

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

Recommended Posts

Posted

Ok, i have script with a copy/paste step...

When i paste, i'd like to paste "with style". The field in wich i'm copying it is in 12 size font and i want the paste text to be in 10 size font.

I know that scriptmaker lets me paste "without style", but how can i paste "with style"?

Help from FMP says that :) "Paste without style tells FileMaker Pro to ignore all text style and formatting associated with the Clipboard contents."

So, how do i change style and formatting associated with the clipboard?

Thanks

p.s. i'm using fmp7 btw

Posted

It's a check box option with the script Step highlighted.

Manually, on a Mac, you hold down the Opt Key, probably Alt on the Windows.

HTH

Lee

Posted (edited)

The check box option is "paste without style" and that's what i don't want! I want to paste "with style" and there is no option for that....

Edited by Guest
Posted

Paste without style tells FileMaker Pro to ignore all text style and formatting associated with the Clipboard contents.

Posted

The text that i want to copy has capital letters and is in size 10. When I copy, the caps are still there, but it's now in size 12 (probably because the field i'm pasting in is in 12). What i want is for the pasted text to stay in 10..... How can I do that?

Posted

Copy Paste should be the same as the original. Deselecting of the Button should give you the size, style, etc of what you are copying.

Lee

Posted

Then how come it doesn't work? The caps are ok, but not the size. There is text already in the field i'm pasting in.... can that make a difference?

Posted

Post a sample of your file, and a Link of what you are coping and I'll test it for you

Posted

The text that you are copying is not size 10. Nor is the text pasted as size 12. You are simply moving UNSTYLED text from one field to another.

You have the source field formatted to DISPLAY text in size 10, and the target field is formatted to DISPLAY text as size 12. These sizes are not attributes of the text itself.

If you want the size of the text to be part of the text (i.e you want it to be styled text), you will have to expressly add styling to the text.

Use the Set Field[] step (always preferable to copy/paste) like this:

Set Field [ targetField ; targetField & "¶¶" & TextSize ( sourceField ; 10 )]

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