Fix the Position of the tab

Hi friends,

I want a script that can fix the position of tab for start all the first paragraph 3 tabs only. Otherwise, don't change your other potions of tabs.

(This feature works in single line).

I try some code but not working out and automatically changed tab position. Please see my code below:

Example:

First tab position - 10 points:

Second tab position - 30 points:

Three tab position - 50 points:

var myDoc = app.activeDocument;  
app.findGrepPreferences = app.changeGrepPreferences = null;  
app.findGrepPreferences.findWhat = "(\\t\\t\\t)";
var myFnd = myDoc.findGrep();
var a = 0;
for(var i=0;i<myFnd.length;i++)
{
    var tabstops = myFnd[i].tabStops;
    for(var j =0;j<tabstops.length;j++)
    {
            tabstops[j].position =  a+=20;
        }
}

Please see my screenshot as below:

11.png

Please suggest friends,

Thanks in advance.

Grep search for ^ \\t\\t\\t

In your script, you change all the tab stops in a paragraph, not just those of your choice. On the contrary, do something like this:

var tabStops = myFnd[i].tabStops;
tabStops[0].position = 10;
tabStops[1].position = 30;
tabStops[2].position = 50;

Peter

Tags: InDesign

Similar Questions

  • How to fix the position of the cmd window?

    I would like to know how to fix the position of the cmd window on the upper right corner instead of middle of anywhere in the window.

    Does anyone have any suggestions?
    Thanks in advance for your suggestions

    Hello!

    Open "Command Prompt", right-click the title bar and choose "Properties".

    Go to the Layout tab.

    In terms of the "Position of the window", uncheck "Let system position window.

    Change the Left and Top values to your preference - on my system (left = 290, Top = 0) are ok.

    On the same tab, look at the picture under "Overview of the window" to try different values - the window position changes after entering a value in the left text box and pressing the tab key.

    I hope that helps!

  • I can't click on the tabs on my firefox, firefox 30 desk, how to fix this?

    I have reset and always get this question, I would like to go and click Open a new tab, and then I see the tab on the toolbar. I would go in trying to open the tab by clicking on it and it wouldn't work. How to fix this? I know about the shortcut but its irritating and I share the computer and shortcuts slows productivity. Thank you in advance.

    jscher2000 I had to look for a "Community Toolbar' or a booster of the tab and after some looking at my add on (and removing obsolete plugins failed to correct the problem) I found the good"Community Toolbar' and after a disable and restart firefox, it worked. Thank you!

  • Adjust the position of the tab bar

    I got my tab bar just above the page before I updated and now does not know how to put them there once again.

    My bookmarks bar has moved to the top of the browser - where I had (or want to) is not no more!

    I have a LARGE space (on the edge of the browser) between the top of the current page and the URL

    In short, it's a mess - why could she not keep my settings as they where, in the previous version?

    I've already lost over an hour trying to settle this - an hour I could have made more productive things - so yes thanks for stealing my time as well!

    As you may have guessed, I'm a bit annoyed and angry with this.

    If something is not broken don't then fix - it's an old adage, but it's true!

    Sorry for the headache. Looks like you want to put legs on bottom and much more. The best way to do this is to use the add-on classic theme restaurateur.

    This article has instructions for download and put the tabs on the bottom - How to make the new look of Firefox as the old Firefox. With this add-on, you should be able to almost any change at your leisure.

    Let me know how it goes.

    -Michael

  • Updated to 23.0.1 and now toolbar bookmarks displays only the tabs open and not bookmarks. How do I fix it?

    Running Win 7 Home Premium. When I've upgraded to Firefox 23.0.1, the bookmarks toolbar is no longer displays my favorites that are in the toolbar bookmarks but open tabs. If I uncheck 'View Bookmarks Toolbar' disappears from the empty toolbar, stay tabs open position here. If I check "View Bookmarks Toolbar" an empty toolbar opens again but open the tabs are on the toolbar. I tried to move a bookmark from the toolbar, but it only just opening a tab of the location of the bookmark I tried to position the toolbar.

    Hello, please try to restore the toolbar by default as described in the Navigation buttons such as back, home, bookmarks and recharge are missing

  • Help the position of the tabs

    Hello. Since the Firefox 20 update, I noticed that the "tabs" are right along at the top of the screen now, that I can not enter because I use Dell Desktop for my shortcuts in, coming down in front of them. It used to be fine when he was just a little lower, but at the same time I don't want to 'menu bar' on as it grows TOO low for my smaller screen. How can I get back to the position they where, just below the organge "Firefox" button as apposed to the appearance of it without recourse to the deactivation of Dell desktop?

    If the window is maximized you can toggle this pref to disable the display of the tabs in the title bar:

    • browser.tabs.drawInTitlebar
  • Position of the button close the tab tab

    Just updated to 17 of Firefox on my Windows 7 PC. The close tab buttons are now on the left side of the tab instead of the right side. How can I move them back on the right side? I can't find other help on this and tried to play with: config userchrome, but nothing is. I can change the color, add a button in the bar, but does not affect the positioning of the buttons close the tab on the tabs themselves.

    Help!

    You have the module / theme / userstyle installed that controls tab behavior? You can resolve this problem by restarting with disabled modules. You can also reset firefox who, most likely, your problem will be solved.

  • Position the tab in white: How can I make new tab (CTRL + T) opened on the left instead of the right-wing?

    When I open a new tab (Virgin, leave a link), it opens on the far right of the tab bar. This does not work for me because when I open a new tab, I use it immediately, so I would be to appear adjacent to the tab I'm currently using. I've scoured the forums and support without finding a way to change the position of new tabs.

    NOTE: When I say 'new tab', I'm average NEW tabs - the kind that contains the new tab page, created using CTRL + T, or file-> new tab not tabs opened from links. I am stressing this point because I found a lot of questions and answers on how to make links open in a new tab open on the far right, or next to the active tab by changing the value in browser.tabs.insertRelatedAfterCurrent in all: config.

    The Tab Mix Plus extension seems to have this feature, pictured in the screen shot here: http://tmp.garyr.net/help/#Events_-_New_Tabs

  • During the closure of 2 windows (with several tabs), restore the system does restore properly the tabs in the window of the second. Is this a bug in the new update / all ideas to fix?

    I regularly use 2 windows with multiple tabs of each and session restore would work to bring them all back, but after this last updated the second window restores correctly, with the first non-visible tab on top (only in the menu drop-down) and now the button add a tab on the left (instead of right). Add a button to the tab is not really as far as concerns the other than it indicates other problems with the tabs in the 2nd window. No no not the 1st tab visible is frustrating, because I can't move or also easily navigate. Also, the tabs on the top of the 2nd window which are visible is no longer have the 'x' to close visible, except when this tab is selected. I'm assuming that it is a problem with the new version/update, since this is the first time I encountered the problem, and I closed and restored Firefox several times to make sure it was a recurring problem and not a one-time problem. Any ideas on how to fix would be welcome (except maybe cramming my tabs on a window or it suck XD).

    Thank you for your help. None of your suggested solutions worked, but having just updated to 10.0.2 seems to have solved the problem.

  • When I open a new tab and type a URL, Firefox ignores me and refreshes the tab instead. I then type the URL again. How can I fix it?

    I just installed Firefox 8 and this behavior is new for the upgrade. I checked my extensions installed against the list of extensions of the issues, and I have none of them (not looking for bars, no AVG, etc.). I already rebooted in safe mode and also used the option bars of tools and commands to reset.

    This has not fixed the problem.

    In addition to the troubleshooting caused it seem more related to tab mix. I've upgraded to the current development version of that and the problem seems to have declined.

  • How can I change the position of the tab bar?

    I can't just get used to the tab bar is on top in Firefox 4. I continue to close open pages by clicking the Favorites menu bar. How can I exchange the position of the two bars?

    Right-click on a toolbar, and then click the entry "Tabs" at the top to deselect the it.

  • Safari resets the scroll position when changing tab

    Safari resets the scroll position when the tab changes.

    For example, to open two tabs. In one of them, go to

    https://developer.Apple.com/library/Mac/documentation/GraphicsImaging/conceptual/drawingwithquartz2d/dq_overview/dq_over...

    and scroll down to the bottom.

    Arrived at the tab other and then return to the tab where you just scrolled down.

    Surprise, the page has been made scroll up, or almost.

    (In my case: OSX Safari 9.0.3 10.10.5,)

    It's very annoying when reading long pages.

    Send feedback to Apple. They will not respond, but at least know that there is a problem. If enough people send feedback, it can become the problem solved as soon as possible.

    Your comments

    Or you can use your Apple ID to register on this site and go the Apple BugReporter. Allegedly, you will get a response if you submit your comments.

    Comments via Apple Developer

  • positioning of tabs in the tab controller

    I would slave master loops using one of the design templates. I want to put all the slave code to the controller tab that would allow users to move from one page to another. Please see attached file.

    I got 10 pages but when I click on a tab from one line to the tab on another line figure in the controller of the tab, the location of lines move from other lines in the controller of the tab. It is very boring and is not very professional. Any ideas to fix the locations of the lines?

    Thank you very much

    Not sure how is it possible to do.  Why is-non-professional line in the tab control switch?  I've seen some professional software which have the same behavior.

    Yik

  • Question on the long table inside the panelTabbed with the position of the tab = 'left '.

    12.1.3 jdev

    I have a few large tables inside the af af:showDetailItem: panelTabbed. My panelTabbed has the left position. In this case, I don't see the horizontal scroll bar under my long tables. The horizontal scroll bar is on the tab all.

    But if I have the position of the panelTabbed as noted above, I see the horizontal scroll bar under each long tables.

    Is this behavior as expected or something I was wrong to do that?

    Thank you.

    Finally, I figured out how to make the design that I desired using all these elements of page layout. The design requirement is to have tabs on the left side, see the vertical scroll bar if the content of the tab is too long and display the horizontal scroll bar if the table has too many columns.

    I have panelGroupLayout with layout of scroll inside panelTabbed showDetailItem, have all my panelBoxes w tables inside this panelGroupLayout. In this way I am able to get the vertical scroll bar when the contents of the table have too many lines.

    By removing the facet ceter of panelStretchLayout panelGroupLayout and having the region inside the facet Center directly, each layer of extendable any inherent layout. I am able to get the horizontal scroll bar below each long table inside panelBox.

    It is important to know how to layout components layer.

    Thank you.

  • Position of the tabs in theme (cloudy) 24 to the right

    Hi gurus,

    Request Express 4.1.1.00.23

    Oracle Database 10g Enterprise Edition (10.2.0.5.0)

    I use the 24 theme (cloudy) and I use Page Template 'a level Tabs - No. Sidebar '. I wish that tabs are displayed on the right side instead of the left side since the tabs overlap the logo. The tabs are locked into < nav > with no ID reference.

    tab_template.gif

    I tried to use < style = "float: right;" > in the tag of nav but it did not work using firefox, but it does not. Can anyone help?

    Robert

    sect55 wrote:

    Hi gurus,

    Request Express 4.1.1.00.23

    Oracle Database 10g Enterprise Edition (10.2.0.5.0)

    I use the 24 theme (cloudy) and I use the Page template 'A level Tabs - No. Sidebar'. I wish that tabs are displayed on the right side instead of the left side since the tabs overlap the logo. The tabs are locked in

    The tabs are positioned absolutely by the CSS of the theme rule

    header#uHeader nav ul, nav.uPageTabs ul {
        list-style: none;
        margin: 0 20px;
        position: absolute;
        top: 57px;
        left: 0px;
        padding: 0;
        white-space: nowrap
    }
    

    To move from left to right, the left: 0px positioning must be overridden and replaced by right: 0px positioning. We can apply the substitution using a rule of higher precision by adding a selector of additional ID applied to each model level one or two tabs, or by adding the rule in the CSS Inline property, either by creating a style sheet additional external and referencing in the URL property of the file:

    #uBodyContainer header#uHeader nav ul {
      left: auto;
      right: 0px;
    }
    

    Alternatively, you can leave the tabs on the left and increase the height of the header for the logo?

Maybe you are looking for

  • Turn off iCloud for photos

    If I disable iCloud on my iphone for photos will lose my pictures and my videos? He tells me I can copy everything first, but I don't have enough space on my phone to make a copy.

  • Management Engine Interface (MEI) driver update?

    Hello, yesterday I had a problem with my HP Envy 15 t-j100 suddenly it became slow mortal! a similar behavior after I reinstall windows 8.1 and during this time, installation of the Driver Intel Management Engine Interface (MEI) located in the list o

  • Age of Empires 3, green screen on Vista Basic

    Hello I have a Dell Inspiron 1520 laptop, Celeron Processor 540 @ 1.86 GHz, 2.5 MB of RAMSystem type - 32-bit operating system. With enough free space I installed 3 AOE with great difficulty, I applied the soaps all packages on the Internet site, but

  • all office stuff has disappeared

    all office stuff has disappeared. The only way I can access anything whatsoever is in the Task Manager using the CTRL, alt, del function. How can I get my info desk and return functions?

  • Problem with the desktop icons

    I have the problem with the desktop icons... they come from both sides... one above the task bar and on the other hand under the task bar too... I'm unable to remove those who are below the taskbar.