Increase/decrease inset spacing

Hello!

Can someone help me with this script for Indesign CS - 5 - Windows XP

I need 2 scripts:

-Box increased spacing up, down, left, right (in text frame Options)

-L' another box sample spacing up, down, left, right (in text frame Options)

Thank you!

Increase:

var myTFInsPoints = myTextFrame.textFramePreferences.insetSpacing;

myTextFrame.textFramePreferences.insetSpacing = [myTFInsPoints [0] + 1, myTFInsPoints [1] + 1,myTFI, nsPoints [2]+ 1, myTFInsPoints [3] + 1];

`

Remove space in "myTFI nsPoints [2].

Try this,

var myTextFrame = app.selection[0];//Select any textframe
//For Increase:
var myTFInsPoints=myTextFrame.textFramePreferences.insetSpacing;
myTextFrame.textFramePreferences.insetSpacing=[myTFInsPoints[0]+1,myTFInsPoints[1]+1,myTFInsPoints[2]+1,myTFInsPoints[3]+1];

//For Decrease:
var myTFInsPoints=myTextFrame.textFramePreferences.insetSpacing;
myTextFrame.textFramePreferences.insetSpacing=[myTFInsPoints[0]-1,myTFInsPoints[1]-1,myTFInsPoints[2]-1,myTFInsPoints[3]-1];

Vandy

Tags: InDesign

Similar Questions

  • Qosmio F20 - volume display bar not visible when I increase/decrease volume

    I can't see the display of the volume bar when I increase / decrease the volume by Volume knob that I had in my Toshiba Qosmio F20. It used to work but does not work because I reinstalled my Windows XP MCE 2005. In fact it wasn't working when I installed xp first time 2 years back, but I reinstalled my audio driver or shortcuts keyboard or something else (that I n t remember) and then it worked.
    Now I have almost everything done but still does not.

    Can anyone suggest something?

    Have you installed the driver and the most recent BIOS on the Toshiba site?
    Check this: http://forums.computers.toshiba-europe.com

    Give me a reason why this has happened?

  • Inset spacing is more available, down, left, right options greyed out

    I have InDesign CC 2015.

    I have long used Options of text block to set the inset spacing on door pages of chapter, with no problems at all. I have a roof built for this frame, leaving the other values for the bottom, left and right, unchanged.

    Now, in 2015, CC, what I see is an option to insert spacing with the Word insert (rather than high) in the upper left and bottom, left and right options grayed out. This is despite the symbol screen showing that these values are not related. If I try to use the inset menu item to change, all margins are given this insert - once again, even if the screen shows that they are not related.

    A bug? A feature? Is there a way out?

    Thanks for the ideas!

    It probably means that your text box is therefore more a rectangle; It must have been biased.

    Go to object > convert shape > Rectane to return to "into shape".

  • How to increase/decrease the speed of Mp3 playback?

    How to increase/decrease playback speed Mp3 while reading an Audio file in Flash? I couldn't find an option like that in class GreenSock Mp3Loader as well.

    Any ideas please?

    Try these:

    http://www.leebrimelow.com/playing-an-MP3-in-reverse/

    First steps with flash 10 audio programming | kelvinluck.com

    The first seems to be a lot simpler.

    Hope this helps

  • Script to increase/decrease the number of line of initials?

    There is a script to increase/decrease the number of drop caps text paragraph line?

    I use Indesign CS-5 for windows xp.

    Thank you in advance!

    Hi Obi - wan Kenobi,

    Maybe the code below will meet your requirement.

    var incrementFlag = false;
    var decrementFlag = false;
    var w = new Window ("dialog", "Drop Cap");
    var increment_button = w.add ("button", undefined, "Increment drop cap by one");
    var decrement_button = w.add ("button", undefined, "Decrement drop cap by one");
    increment_button.onClick = function(){incrementFlag = true; w.close();}
    decrement_button.onClick = function(){decrementFlag = true; w.close();}
    w.show ();
    if(incrementFlag == true)
    {
        app.selection[0].dropCapLines = app.selection[0].dropCapLines + 1;
    }
    else if(decrementFlag == true)
    {
        app.selection[0].dropCapLines = app.selection[0].dropCapLines - 1;
    }
    

    Vandy

  • Inset spacing - how do you set it to zero?

    I have problems with the inset spacing.  Now with the 2014 edition, whenever I create a text frame, it comes with an outer margin.  Maybe one day I will come to appreciate it, but for now he won't let me put the name of the photographer immediately under a photograph.  I think I got a little more than 1 / 8 inch of space between the picture and the text.  It didn't used to be this way, and, indeed, it is not affecting text photo combos made with earlier versions of inDesign - only new text blocks made with the latest edition of 2014.  This includes a copy of former executives and sticking them elsewhere.  You would think that affecting 0P0 spacing to insert in the dialog box Options of text block, but that makes no difference.  How to do things the way they were?  In other words, no spacer insert.

    Since you have confirmed that this is not a problem of setting of the Insert, to check if it is a problem of text wrap preferences:

    If the problem is only certain documents, open a document

    1. with no object selected, go to Windows > Textwrap > select the first box (i.e. without default text wrapping)

    2. now, create new frameworks and make your adjustments

    If the problem is in all new files:

    1. to any State of pub (not open documents), go to Windows > Textwrap > select the first box (i.e. without default text wrapping)

    2. open the new document, creating environments and make your adjustments

    What is the problem?

  • Increase/decrease the number of text field?

    Hey there just playing on board and I'm trying to make a simple interactive (IE next buttons and back which got different labels).

    I had pimples just play and play in the opposite direction to the next or previous labels (I'm sure there is a better way to do it, so I'm all ears), but when I get to a label how can I get to increase/decrease a number text field without having to manually add each label (especially if there are 100 labels)?

    Thanks in advance.

    Hey pancreas, it seems that you do not call the 'arrowBtnLt' and click 'arrowBtnRt', on the left/right arrow button functions.

    Put this on arrowBtnLt.click:

    sym.arrowBtnLt ();

    Put this on arrowBtnRt.click:

    sym.arrowBtnRt ();

    In addition, because your label will probably from 1, document.compositionReady, replace the default value for 'currentCount' and if statement value left button like this:

    Enter the code to run when the composition is fully charged here

    var currentCount = 1; / / count the current count

    var maxCount = 4; / / maximum number of slides, labels, images, whatever, you

    sym.arrowBtnLt = function() {}

    If (currentCount > 1) {}

    -currentCount;

    update your text

    sym.getSymbol("pgNum").$("pgText").html (currentCount + "'") ;// convert number to string

    go to label on the timeline

    }

    }

    call this when the click on the arrow to the right

    sym.arrowBtnRt = function() {}

    If (currentCount<>

    currentCount ++;

    update your text

    sym.getSymbol("pgNum").$("pgText").html (' currentCount + "");

    go to label on the timeline

    }

    }

  • increase decrease text on the web page option

    Hello



    cases where the user wants to increase the reduction in their web page text?
    How to increase the decrease text option (click) on the web page?

    Hello

    In this example,.

    "+' and '-' symbols contain the href attribute to invoke the" increaseFontSize()"and"decreaseFontSize()"functions..." To even put href calls appropriate on the text (or) the image you want the user to this increase / decrease of things...

    -
    +

  • No option to trun off clicking on to increase/decrease volume on MediaSmart Panel?

    Does anyone know if there is a way to disable the clicking sound when increasing or decreasing the volume on the MediaSmart Panel?  If so, how?  I couldn't find an option for her.  Thanks in advance.

    I don't know about it, but I think that his is how you disable the sound of rattling in the BIOS.  There is a way.

  • Emmet - wrap, increase/decrease, etc. + shortcuts

    The new plugin Emmet is really good! But when I used it in DW CC2014 (in line), there were other features that I used:

    Wrap an abbreviation.

    Increase or decrease the value of tenth, one or ten

    Merge several line in one line.

    Toggle Comment

    Are they available?

    In the same vain, it is possible to have a panel with all orders of Emmet, for quick access?

    And is there a way that we could give our custom shortcuts?

    Hello

    Currently, the options you mentioned are not available in Dreamweaver. Currently, even the shortcut cannot be customized. An enhancement request regarding options and keyboard shortcut has been sent to the team for consideration.

    Thank you for providing your comments. Good day!

    Thank you

    Sandrine N

  • How to decrease the spacing between shapes and move the form to the top, what model creation brush?

    Hello world

    I am trying to create an external border for some tires and have a few questions about the model of brush.

    I created a solid form and then, with her, a brush model. But I don't want all this spacing between shapes, so is there a way to get rid of the spacing or DECREASE spacing altogether. Currently, it is set at 0%.

    Also, is there a way to raise the forms so that the basic lines of form are placed outside of the ellipse that is drawn? See first image below in the middle of forms at the intersection with the outline of the ellipse drawn.

    Thanks in advance :)

    Screen Shot 2013-06-18 at 3.12.12 PM.jpg

    Return to the brush model.

    1. drag the brush from the Panel forms.

    2. with the direct Selection tool or in, select the Panel layers no filling / n ° rectangle race which is located at the back of this group of brush.

    3. adjust (reduce) the width of the rectangle until you find a size that produces the desired gap.

    4. Select the shape of the brush and the no fill / no rectangle STROKE, Opt/Alt-drag on top of the original brush in the Panel shapes.

    Trial and error is valuable here until you see how it works. or you can use specific values.

    To align the bottom edge of the brush with the path:

    With no filling/no STROKE rectangle selected, as indicated above, move it down so that its horizontal axis coincides with the lower edge of the shape of the brush, then Opt/Alt-drag the brush and rectangle again in the Panel forms.

    Edit: As says Monika.

  • An increase/decrease wee in paragraph styles

    Hello
    I'll put text in a book for children. I modified the wee (spacing between words) without changing the character of kerning (spacing between characters in a Word). I did it using keyboard shortcuts. Control-Alt-Backspace
    Now I want to save the settings with the wee altered as a paragraph for the parameter style can be applied throughout the book. "Paragraph style" does not seem to recognize the spacing altered when creating a new paragraph style.
    Anyone can suggest a way I can save a style with the altered word spacing or does not have another work around this amended application settings to individual pages/apagraphs word spacing. I must also say that the pages in the book will not linked text boxes, so apply once for the entire book would not be possible.

    Thank you for any input you can provide.

    John

    Hi John,.

    It's actually very simple increase of beween words space with a paragraph style.

    In the justification of paragraph options, you have 3 settings for Word spaces: minimum, maximum, and desired. Simply define your space you want for what you want, say 150%.

    This works for both justified and unjustified paragraphs.

    HTH,

    Ariel

    www.FreelanceBookDesign.com

  • Audio can increase/decrease after export

    Hello

    I had put an audioo behind a clip video and reduced the volume of the audio.

    But after export, audio continues to increase n decreases. As, when, in the sound of the video (Audio1) stops for 2-3 seconds, the other audio (Audio2) volume increases, and when the sound of the video (Audio1) increases, the other audio volume (Audio2) decreases.

    Can someone help me?

    Thank you

    It sounds like your playback software is applying some kind of standardization.

  • BlackBerry Smartphone camera settings: cannot use the slider to increase/decrease the proximity of the image

    Dear all

    I'm a newbie when it comes to using a BB. I was pretty happy with my BB 8520 Curve until recently. Yesterday while trying to click on a photo, I tried using the wheel to increase the proximity of the image & it didn't work & since then it has not worked. I thought that maybe there was a problem with my scroll button but NOOOOO...

    Works of scrolling around elsewhere. I don't know too much what setting needs to be changed. We have a festive season going on here in our city & I'm dying to take some pictures of almost, but I'm unable to increase proximity using the scroll key

    I hope I could explain my problem... Pls help...

    Kind regards

    Neena

    Try this, with the POWER YOU delete waiting for battery a minute or two and then re - inserted and left entirely re - start. This should solve your problem.

  • including the inset spacing text boxes

    My text boxes always have a space inset a.125 how to reset it to 0?

    Object > text frame Options. Set the Insert to 0 without papers open to make the default value of the application

Maybe you are looking for