Copy link to clipboard
Copied
I'm creating text frames with a script, but i want to set them to ignore text wraps, as you can with the gui text frame options. I can't figure it out. Can someone help me please?
myTextFrame.textFramePreferences.ignoreWrap = true;
Copy link to clipboard
Copied
figured it out
myTextFrame.textFramePreferences.ignoreWrap = true;
thanks
Copy link to clipboard
Copied
myTextFrame.textFramePreferences.ignoreWrap = true;
Copy link to clipboard
Copied
You failed to mension what version of Indd and language you are using.
For Indesign CS3 and JavaScript you can do:
var tf = app.activeDocument.textFrames[0];
tf.textFramePreferences.ignoreWrap = true;
Hope this helps
Copy link to clipboard
Copied
Thank you both. I should have mentioned CS4 and JS. Thanks again
Copy link to clipboard
Copied
This new forum is so slow! I didn't see that you had already solved this.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now