Copy link to clipboard
Copied
Scripting in JSX, I am trying to set the number of columns and gutter width of a text frame I am creating, but the column width is not taking. The frame is being created with the proper bounds, but alas, not the columns. Any thoughts? Thanks (also, miss the old forums...)
pageRef.textFrames.add({
geometricBounds: [0.84, 0.5, 10.4, 8],
textColumnCount: 4,
textColumnGutter: 0.1667,
name: "testFrame",
});
var tf = doc.textFrames.itemByName("testFrame");
textColumnCount is a property of textFramePreferences, and not of a textFrame. So I think it would be something like
tf.textFramePreferences.textColumnCount=4
Thanks (also, miss the old forums...)
Me too...
Copy link to clipboard
Copied
textColumnCount is a property of textFramePreferences, and not of a textFrame. So I think it would be something like
tf.textFramePreferences.textColumnCount=4
Thanks (also, miss the old forums...)
Me too...
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi Brian,
I think, in the new forums the OP cannot mark a post as "Correct".
Only people that are moderators or admins. And Adobe staff.
Regards,
Uwe Laubender
( ACP )
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more