Object - Text Frame Options
Why do my Object, text frame options, inset spacing settings change when I close and open my document.I set my inset spacing to 0.125 an all and when I close the document and open it later it is all set back to 0. Any suggestions? My defalut settings are 0.125
I did this. I open in design but no doc's set inset to .125 and then open a doc and it is set to 0.125. I use it and save it when I open it again it is set at 0. But the pages I created previously are set to 0.125. Could it be something else in a default somewhere?
Similar Messages
-
Set top and bottom inset spacing values in Text Frame Options via jsx script
I am looking for a way to set the top and bottom inset spacing values only to 2 points in Text Frame Options via a .jsx scrpt.
For years, I have used a script that sets Preferences, such as:
with(app.storyPreferences){
opticalMarginAlignment = false;
opticalMarginSize = 12; // pts
I would like to add the code to this same script that would make Top = 0p2 and Bottom 0p2 but leave Left and Right as 0p0.
Any help would be greatly appreciated.Here is the full .jsx file that we now use to set preferences.
Ideally, this could be modified to include setting any text frame created to have 0p2 inset Top and Bottom, but 0p0 Left and Right:
//ApplicationTextDefaults
//An InDesign CS2 JavaScript
//Sets the application text defaults, which will become the text defaults for all
//new documents. Existing documents will remain unchanged.
with(app.textDefaults){
alignToBaseline = false; // align to baseline grid
try {
// appliedFont = app.fonts.item("Times New Roman");
appliedFont = app.fonts.item("Helvetica");
catch (e) {}
try {
fontStyle = "Medium";
catch (e) {}
autoleading = 100;
balanceRaggedLines = false;
baselineShift = 0;
capitalization = Capitalization.normal;
composer = "Adobe Paragraph Composer";
desiredGlyphScaling = 100;
desiredLetterSpacing = 0;
desiredWordSpacing = 100;
dropCapCharacters = 0;
if (dropCapCharacters != 0) {
dropCapLines = 3;
//Assumes that the application has a default character style named "myDropCap"
//dropCapStyle = app.characterStyles.item("myDropCap");
fillColor = app.colors.item("Black");
fillTint = 100;
firstLineIndent = "0pt";
// firstLineIndent = "14pt";
gridAlignFirstLineOnly = false;
horizontalScale = 100;
hyphenateAfterFirst = 3;
hyphenateBeforeLast = 4;
hyphenateCapitalizedWords = false;
hyphenateLadderLimit = 1;
hyphenateWordsLongerThan = 5;
hyphenation = true;
hyphenationZone = "3p";
hyphenWeight = 9;
justification = Justification.leftAlign;
keepAllLinesTogether = false;
keepLinesTogether = true;
keepFirstLines = 2;
keepLastLines = 2;
keepWithNext = 0;
kerningMethod = "Optical";
kerningValue = 0;
leading = 6.3;
// leading = 14;
leftIndent = 0;
ligatures = true;
maximumGlyphScaling = 100;
maximumLetterSpacing = 0;
maximumWordSpacing = 160;
minimumGlyphScaling = 100;
minimumLetterSpacing = 0;
minimumWordSpacing = 80;
noBreak = false;
otfContextualAlternate = true;
otfDiscretionaryLigature = true;
otfFigureStyle = OTFFigureStyle.proportionalOldstyle;
otfFraction = true;
otfHistorical = true;
otfOrdinal = false;
otfSlashedZero = true;
otfSwash = false;
otfTitling = false;
overprintFill = false;
overprintStroke = false;
pointSize = 6.3;
// pointSize = 11;
position = Position.normal;
rightIndent = 0;
ruleAbove = false;
if(ruleAbove == true){
ruleAboveColor = app.colors.item("Black");
ruleAboveGapColor = app.swatches.item("None");
ruleAboveGapOverprint = false;
ruleAboveGapTint = 100;
ruleAboveLeftIndent = 0;
ruleAboveLineWeight = .25;
ruleAboveOffset = 14;
ruleAboveOverprint = false;
ruleAboveRightIndent = 0;
ruleAboveTint = 100;
ruleAboveType = app.strokeStyles.item("Solid");
ruleAboveWidth = RuleWidth.columnWidth;
ruleBelow = false;
if(ruleBelow == true){
ruleBelowColor = app.colors.item("Black");
ruleBelowGapColor = app.swatches.item("None");
ruleBelowGapOverprint = false;
ruleBelowGapTint = 100;
ruleBelowLeftIndent = 0;
ruleBelowLineWeight = .25;
ruleBelowOffset = 0;
ruleBelowOverprint = false;
ruleBelowRightIndent = 0;
ruleBelowTint = 100;
ruleBelowType = app.strokeStyles.item("Solid");
ruleBelowWidth = RuleWidth.columnWidth;
singleWordJustification = SingleWordJustification.leftAlign;
skew = 0;
spaceAfter = 0;
spaceBefore = 0;
startParagraph = StartParagraph.anywhere;
strikeThru = false;
if(strikeThru == true){
strikeThroughColor = app.colors.item("Black");
strikeThroughGapColor = app.swatches.item("None");
strikeThroughGapOverprint = false;
strikeThroughGapTint = 100;
strikeThroughOffset = 3;
strikeThroughOverprint = false;
strikeThroughTint = 100;
strikeThroughType = app.strokeStyles.item("Solid");
strikeThroughWeight = .25;
strokeColor = app.swatches.item("None");
strokeTint = 100;
strokeWeight = 0;
tracking = 0;
underline = false;
if(underline == true){
underlineColor = app.colors.item("Black");
underlineGapColor = app.swatches.item("None");
underlineGapOverprint = false;
underlineGapTint = 100;
underlineOffset = 3;
underlineOverprint = false;
underlineTint = 100;
underlineType = app.strokeStyles.item("Solid");
underlineWeight = .25
verticalScale = 100;
//Units & Increments preference panel
//Must do this to make sure our units that we set are in points. The vert and horiz
//units that get set default to the current measurement unit. We set it to points
//so we can be sure of the value. We'll reset it later to the desired setting.
with(app.viewPreferences){
horizontalMeasurementUnits = MeasurementUnits.points; // Ruler Units, horizontal
verticalMeasurementUnits = MeasurementUnits.points; // Ruler Units, vertical
//General preference panel
with(app.generalPreferences){
pageNumbering = PageNumberingOptions.section; // Page Numbering, View
toolTips = ToolTipOptions.normal; // Tool Tips
// Not supported in CS4
// toolsPalette = ToolsPaletteOptions.doubleColumn; // Floating Tool Palette
completeFontDownloadGlyphLimit = 2000; // Always Subset Fonts...
try {
//Wrapped in try/catch in case it is run with CS4 and earlier to avoid the error
preventSelectingLockedItems = false; // Needed for CS5+
catch (e) {}
//Type preference panel
with (app.textEditingPreferences){
tripleClickSelectsLine = true; // Triple Click to Select a Line
smartCutAndPaste = true; // Adjust Spacing Automatically when Cutting and Pasting Words
dragAndDropTextInLayout = false; // Enable in Layout View
allowDragAndDropTextInStory = true; // Enable in Story Editor
with(app.textPreferences){
typographersQuotes = true; // Use Typographer's Quotes
useOpticalSize = true; // Automatically Use Correct Optical Size
scalingAdjustsText = true; // Adjust Text Attributes when Scaling
useParagraphLeading = false; // Apply Leading to Entire Paragraphs
linkTextFilesWhenImporting = false; // Create Links when Placing Text and Spreadsheet Files
// Missing following (Font Preview Size, Past All Information/Text Only)
//Advanced Type preference panel
with(app.textPreferences){
superscriptSize = 58.3; // Superscript, size
superscriptPosition = 33.3; // Superscript, position
subscriptSize = 58.3; // Subscript, size
subscriptPosition = 33.3; // Subscript, position
smallCap = 70; // Smallcap
with(app.imePreferences){
inlineInput = false; // Use Inline Input for Non-Latin Text
//Composition preference panel
with(app.textPreferences){
highlightKeeps = false; // Keep Violations
highlightHjViolations = false; // H&J Violations
highlightCustomSpacing = false; // Custom Tracking/Kerning
highlightSubstitutedFonts = true; // Substituted Fonts
highlightSubstitutedGlyphs = false; // Substituted Glyphs
justifyTextWraps = false; // Justify Text Next to an Object
abutTextToTextWrap = true; // Skip by Leading
zOrderTextWrap = false; // Text Wrap Only Affects Text Beneath
//Units & Increments preference panel
with(app.viewPreferences){
rulerOrigin = RulerOrigin.spreadOrigin; // Ruler Units, origin
// These are set at the end of the script after all the changes have been made
// horizontalMeasurementUnits = MeasurementUnits.points; // Ruler Units, horizontal
// verticalMeasurementUnits = MeasurementUnits.inches; // Ruler Units, vertical
pointsPerInch = 72; // Point/Pica Size, Points/Inch
cursorKeyIncrement = 1; // Keyboard Increment, Cursor Key
with(app.textPreferences){
baselineShiftKeyIncrement = 2; // Keyboard Increment, Baseline Shift
leadingKeyIncrement = 2; // Keyboard Increment, Size/Leading
kerningKeyIncrement = 20; // Keyboard Increment, Kerning
//Grids preference panel
with(app.gridPreferences){
baselineColor = UIColors.lightBlue; // Baseline Grid, Color
baselineStart = 48; // Baseline Grid, Start
baselineDivision = 6; // Baseline Grid, Increment Every
baselineViewThreshold = 50; // Baseline Grid, View Threshold
baselineGridRelativeOption = BaselineGridRelativeOption.topOfPageOfBaselineGridRelativeOption; // Baseline Grid, Relative To
gridColor = UIColors.lightGray; // Document Grid, Color
horizontalGridlineDivision = 12; // Document Grid, Horizontal, Gridline Every
horizontalGridSubdivision = 12; // Document Grid, Horizontal, Subdivisions
verticalGridlineDivision = 12; // Document Gird, Vertical, Gridline Every
verticalGridSubdivision = 12; // Document Grid, Vertical, Subdivisions
gridsInBack = true; // Grids in Back
documentGridSnapto = false; // snap to grid or not
documentGridShown = false; // show document grid
//Guides & Pasteboard preference panel
with(app.documentPreferences){
marginGuideColor = UIColors.violet; // Color, Margins
columnGuideColor = UIColors.magenta; // Color, Columns
with(app.pasteboardPreferences){
bleedGuideColor = UIColors.fiesta; // Color, Bleed
slugGuideColor = UIColors.gridBlue; // Color, Slug
previewBackgroundColor = UIColors.lightGray; // Color, Preview Background
minimumSpaceAboveAndBelow = 72; // Minimum Vertical Offset
with(app.viewPreferences){
guideSnaptoZone = 4; // Snap to Zone
with(app.guidePreferences){
guidesInBack = false; // Guides in Back
//Dictionary preference panel
with(app.dictionaryPreferences){
composition = ComposeUsing.both; // Hyphenatin Exceptions, Compose Using
mergeUserDictionary = false; // Merge User Dictionary into Document
recomposeWhenChanged = true; // Recompose All Stories When Modified
// Missing (Lang, Hyph, Spelling, Double Quotes, Single Quotes)
//Spelling preference panel
with(app.spellPreferences){
checkMisspelledWords = true; // Find, Misspelled Words
checkRepeatedWords = true; // Find, Repeated Words
checkCapitalizedWords = true; // Find, Uncapitalized Words
checkCapitalizedSentences = true; // Find, Uncapitalized Sentences
dynamicSpellCheck = true; // Enable Dynamic Spelling
misspelledWordColor = UIColors.red; // Color, Misspelled Words
repeatedWordColor = UIColors.green; // Color, Repeated Words
uncapitalizedWordColor = UIColors.green; // Color, Uncapitalized Words
uncapitalizedSentenceColor = UIColors.green; // Color, Uncapitalized Sentences
//Autocorrect preference panel
with(app.autoCorrectPreferences){
autoCorrect = true; // Enable Autocorrect
autoCorrectCapitalizationErrors = false; // Autocorrect Capitalization
// Missing (Language, Misspelled word pairs)
//Display Performance preference panel
with(app.displayPerformancePreferences){
defaultDisplaySettings = ViewDisplaySettings.typical; // Preserve Object-Level
persistLocalSettings = false;
// Missing (antialiasiing, greek below
//Story Editor Display preference panel
with(app.galleyPreferences){
textColor = InCopyUIColors.black; // Text Color
backgroundColor = InCopyUIColors.white; // Background
smoothText = true; // Enable Anti-Aliasing
antiAliasType = AntiAliasType.grayAntialiasing; // Type
cursorType = CursorTypes.standardCursor; // Cursor Type
blinkCursor = true; // Blink
// Missing (Font, Size, Line Spacing & Theme)
//File Handling preference panel
with(app.generalPreferences){
includePreview = true; // Always Save Preview Images with Doc
previewSize = PreviewSizeOptions.medium; // Preview Size
with(app.clipboardPreferences){
preferPDFWhenPasting = false; // Prefer PDF When Pasting
copyPDFToClipboard = true; // Copy PDF to Clipboard
preservePdfClipboardAtQuit = false; // Preserve PDF Data at Quit
// Missing (Enable Version Cue)
// Optical margin (hanging punctuation, outside margins)
with(app.storyPreferences){
opticalMarginAlignment = false;
opticalMarginSize = 12; // pts
//Wrap Up (do at end of script)
//Units & Increments preference panel
//Must do this to make sure our units that we set are in points. The vert and horiz
//units that get set default to the current measurement unit. We set it to points
//so we can be sure of the value. We'll reset it later to the desired setting.
with(app.viewPreferences){
horizontalMeasurementUnits = MeasurementUnits.picas; // Ruler Units, horizontal
verticalMeasurementUnits = MeasurementUnits.inches; // Ruler Units, vertical
// These two flags are turned off to avoid the error message about
// missing image links when InDesign opens an ad. This can especially
// be a problem when doing batch processes.
with(app.linkingPreferences){
checkLinksAtOpen = false; // checkbox: true/false
findMissingLinksAtOpen = false; // checkbox: true/false -
InDesign Text frame options - how to reset?
Working in InDesign CC 2014.
I have somehow set my text frame options so that when I use the type tool to create a text frame, columns are added as I make the box wider.
I know that I want Columns - Fixed number of 1, because I have found the settings I want by opening a new doc and creating a basic text frame and looking at the settings.
In my working doc, when I change the text frame option settings, they will not "stick" and I can only create text frames with columns, and the width increases incrementally.
Only way I can make the basic text frames I want is to copy a basic empty frame from a new doc and paste into my working doc.
How can I get the settings I make to "stick"?
Thanks!Open the Basic Text Frame Object Style, and fix your column settings there. Your new text boxes are based on those settings.
-
Text Frame Options. Room for Side Heads added without warning
Hi -
I just got asked this and have no clue how to help. Anyone know what this is?
Every now and then, my Frame file will –apparently on its own – reset most of its text frames into having room for side heads. Makes for lots of bad labels on graphics – everything’s suddenly offset and scrolling off the bottom.
This will happen suddenly. It will usually be only one or two chapters in a book, but if I ignore it has been known spread like the black death throughout the book.
The only solution I’ve found so far has been to revert to a backup or touch each text frame individually. Setting properties for two at a time messes up location on the page.HI -
Here's what I heard back.
I believe it’s for everything except main text flow, including headers&footers on master pages, and special elements on unused master pages.
It appears to be spontaneous, but I can’t guarantee that.
I don’t use MIFs, and I’m pretty sure no one else does.
Yes to formatting imports , because we frequently change variables in one chapter and copy them back to the rest (esp date doc was last edited – not same as print date per our regulatory agency.) Likewise conditional text. We know not to copy from a file into itself in a book, although it has happened and we do exchange manuals between revisions at times. -
Hi, I am using CS6 in Saudi-Arabia. When I put a new text frame with more than one column on a page, the cursor automatically jumps to the right column. In English texts I can't get it to start on the top of the left column. Who can help?
Are using indesgn ME?, try to draw text frame with Type Tool (T) and not ME Type Tool, and make sure the language is english on control panel.
-
Text will NOT align to top of text frame
The text is low in the text frame even though the vertical justification is set to align TOP in the text frame options and the first baseline offset is set to Ascent in baseline options. There is no baseline shift or inset set and align to baseline grid is NOT selected. Any ideas how to fix it so the text is at the top of the box? Thanks!
@gtingley – did you try:
1. Copy/Paste the text frame to a fresh document?
2. Export as IDMS (snippet) file and place it again?
Just out of fun, did you try to copy/paste the text to a new text frame? Is a object format applied to the text frame? (Just fishing in the dark.)
Uwe -
Adding a graphic or photo behind a text frame in InDesign CS
Hi Everyone,
I'm hoping I can get some help please on a problem I'm having. I'm switching from QuarkxPress to InDesign CS - after having it for nearly six years! - thought it was time learn InDesign. So far, I really like it. But, I've discovered a small problem I never encountered with Quark but I'm having it with InDesign. I have placed a vector graphic separately behind a Headline text frame (also tried a photograph). For some reason, the vector graphic totally covers up the Headline text. I have tried "send to back," that didn't work, it still covered the text. I made sure that there was no fill color at all. I even tried putting the graphic on a separate layer "behind" the Headline text and that still won't work. Could someone please help me. I would so appreciate it.
SnippetDoes your image use text wrap? Unlike Quark, by default InDesign's text wrap affects text both in front and behind the wrapped object. This is good becasue if you use transparency you want the text onthe very top to prevent unwanted outlining or rasterization at ooutput. You can change the behavior to mimic Quark in the application preferences, or you can open the text frame options for a frame you don't want to be affected and check the box to Ignore Text Wrap.
The other posiblility is a stacking order problem. If your text is on a master page it will be behind any objects onthe same or higher layer on the document page. On any given layer, master objects are always behind live objects on the page. -
Multiple columns within a single text frame
Is it at all possible to make a single text frame containing first a single column followed by two columns?
Why: I need to have my heading expanding across my two column body text. What's important is that I need the two column body text to automatically drop whenever I type (or paste) in more text in my heading. Like it would if the heading and body text was in a single column.
My text frame options (I work in CS3) do not give me this option, I can only work in one "frame set". I have tried fixing this problem with combinations of tables, multiple text frames and text wrap, but nothing really works.Thank you Peter.
Yes I did try it.
InDesign CS3 just gives me this alert:
I also tryed copying the files (HeadStraddler.jsx and HeadStraddler.indl) into a folder like you suggested.
C:\Program Files\Adobe\Adobe InDesign CS3\Scripts\Scripts Panel\Version 4.0 Scripts\HeadStraddlerForCS2.
But I just get the same alert. -
Centering text frame into rectangle
Hi everybody, i'm pretty a new-by with indesign so be kind with me
I was trying to center "2 objects": actually, a text frame inside a colored rectangles. My goal is to have the frame containing the text exactly centered into the main rectangle.
As you can see i'd like to be able to center the text frame "Address" into the big cyan rectangle. I could do it manually but the result would be different from the rest of the text frame i have to center (date of birth...and so on).
Thanks for your help people!Also keep in mind that whether you use two objects (text frame and colored box) or one text frame like Peter suggested, the positioning of the text is based on the full size of the font, which is measured from the lowest descender to the highest ascender. So, a box with an upper case A and one with a lower case j will have different distances from the top and bottom of the box, so if what you want is an even amount of box around your text, you might have to make an adjustment.
All boxes are aligned the same, but not visually centered. -
Can't anchor object at top of text frame
I'm trying to place an achored object inline at the top of a text frame (CS 5). If I make the insertion point before the first word of text the object always gets placed below the first line of text. I can change the Y relative to "Line (top of leading)" for the anchored position in the options but then the first line of text gets covered up (the object has text wrap applied). I can put an extra space at the top of the page and anchor the object there, but then the text doesn't begin at the top of the text frame.
Here's a shot of the page and the anchored object settings. The arrow points to the insertion point in the text frame.
-
Anchored Objects Stuck in Text Frame
Hello,
I have updated from CS4 to CS6 and am now having a problem with being able to edit anchored objects from a file that I used to work off of in the CS4 version.
I am working on a catalog that has product assessory boxes that are made up of images and text. In CS4, I created the accessory boxes, grouped all the items and pasted it in the text frame that held the text and photos of other products. I used to be able to edit the text or cut and paste the accessory box out of the text frame it was placed into. Now since I have upgraded to CS6 I cannot edit them at all, when I try to select the box with the selction tool or highlight the text with the type tool nothing will happen. The only thing I can do is hightlight the whole box and cut and paste it into another text frame I create, which doesnt help because I still cannot edit them.
In CS6, I have created an accessory box from scratch, and followed the same process as I have before and I can edit and select like I used to do. The problem only seems to come with the accessory boxes I have created in CS4.
This is a pretty large catalog, and will take a lot of time to recreate all the accessory boxes, so any suggestion to help fix the problem will be greatly appriciated.
Thank you!Long shot, but go to the application preferences and uncheck the box in the General section that says Prevent Selection of Locked Objects.
-
When opening a CS3 Layout in CS4 to make client text changes, all the text frame box edges (on their appropriate layers) are shown as dotted lines, and none of the type is editable!
I restored the old version, and opened in CS3 old version, and the same thing applies! Arggggh - there must be a frame preference that I don't know about or an instruction accidentally given.
How do I convert the text boxes back to editable regions? Got a deadline and am miffed.
I am a 20 year veteran of Pagemaker/Indesign/CS and this has never happened to me before!Dotted lines for frame edges means that the item is on the Master Page. That’s why you can’t edit items, because they are on the Master, not on the numbered page. Either Command-Shift-click on the object to edit it or edit it on the Master Page. You should find out why so much of the document was built on the Master Page. Either the designer meant this to be a template for multiple existing or future pages, or someone just wasn’t paying attention and didn’t realize they were designing on the Master.
-
Is it possible to select an anchored object in a text frame in InDesign in a script?
I would like to know if it is possible to write a script to select an anchored object in a text frame. All the scripts I have found so far do not work on anchored object.
Check out this thread.
-
How do I apply style within a text frame linked object
I'm selecting the text frame in the object I want to apply an object style
A script can be written
within a text frame the linked object (selected text frame)
how object style is appliedHi
All you need is
app.selection[0].appliedObjectStyle = app.activeDocument.objectStyles.itemByName ("Trevors Object Style");
The below snippet will apply the style to all the anchored objects in the selection or document
var doc = app.properties.activeDocument,
myOnjectStyle = doc.objectStyles.itemByName ("Trevors Object Style"),
myObjects, l;
if (!myOnjectStyle.isValid) {
alert ("Either add an Object Style Called:\nTrevors Object Style\nOr Make Significant Changes to The Script");
quit ();
app.findTextPreferences = app.changeTextPreferences = null;
app.findTextPreferences.findWhat = "^a";
myObjects = (app.selection && app.selection[0]).findText () || doc.findText ();
l = myObjects.length;
while(l--) myObjects[l].textFrames[0].appliedObjectStyle = myOnjectStyle;
HTH
Trevor -
Two objects claim ownership of UID: U3615 Class: Text Frame
Hi guys,
since i updated today i can't save my project file anymore. Getting an error when i try to save saying:
Two objects claim ownership of UID: U3615 Class: Text Frame
Is there a way to fix it or did i lose all my progress from today? That would be devastating.
Greetings,
JoernPlease send us a copy of your .muse file at [email protected] and include a link to this thread. If it's too big for e-mail (>20 mb) you could use a service like Dropbox, Adobe SendNow, WeTransfer, etc. We'll repair and return.
Maybe you are looking for
-
Upgrading EBS database 9i (9.2.0.6) to 9.2.0.8
Hi all, I am upgrading my database from 9.2.0.6 to 9.2.0.8. I am getting error, i am pasting the log file content. ======================================= - Linking Oracle rm -f /data/oracle/db/proddb/9.2.0/rdbms/lib/oracle gcc -o /data/oracle/db/pro
-
Downloading zipped files error?
This may be a little silly, however, I'm trying to download the suport docs from https://websmp201.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000713358&_SCENARIO=01100035870000000202 - however, whne I try the zipped files, I get the following error.
-
J2ee server status stopped in one of application server
Short Text J2ee server status stopped in one of application server Long Text Dear supprot, We have 3 application servers to our production server. App1 and App3 are working fine. when i am trying to start App2 J2ee server0 for the same server is gett
-
I'm thinking about going with Photoshop CC but have a slow and unreliable internet connection. I read that it would be available offline but I'm confused as to whether there is a restriction on how often one can work offline. Anyone help?
-
Adobe Flash Player version 11.1.0 or greater
How do I download the latest version or Adobe Flash Player version 11.1.0 ?