November 25, 200520 yr 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
November 25, 200520 yr 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
November 25, 200520 yr Author 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 November 25, 200520 yr by Guest
November 25, 200520 yr Paste without style tells FileMaker Pro to ignore all text style and formatting associated with the Clipboard contents.
November 25, 200520 yr Author 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?
November 25, 200520 yr 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
November 25, 200520 yr Author 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?
November 25, 200520 yr Post a sample of your file, and a Link of what you are coping and I'll test it for you
November 25, 200520 yr Author This is not my file, but it shows what i'd like to do. Thanks sample.zip
November 25, 200520 yr 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 )]
November 25, 200520 yr Author Duh! Ok, i think i'll be able to do what i want with what you told me.... Thanks a lot, it really helps!!! Symont
Create an account or sign in to comment