Update multiple tables of contents in the same doc...

Hello

Here is the code I tried to write:

myDoc var = app.activeDocument;

var myTocStyles = myDoc.tocStyles;

var myTocNumber = myTocStyles.length;

for (i = myTocNumber.length; i > = 1; i ++) {}

myDoc.createTOC (TOCStyle [i], true);

}

Of course, it does not work!

What I'll try (want) to do is updated all the tables of contents in the doc.

Thank you for your wise ideas!

You are nearby.

Check your syntax "for".

for (var i = 0; i)

myDoc.createTOC (myTocStyles [i], true);

}

Tags: InDesign

Similar Questions

  • Is it possible to have multiple tables of contents in webhelp output that can be chosen according to the role of the user/client?

    Our product is composed of several modules, for example, the modules-1 thru 8 - module.  We sold all 8 modules or some of them - in different combinations to different customers. I've developed help online in the same direction, that is, in the modules, help-1 to ' help-8. Each help module has its own table of contents.  According to the requirement for a particular client, I integrate the required modules, build the main table of contents using the mini-table of existing materials for each assistance, generate the sequence to browse and compile. This has been my routine until now.

    Now, the product development team would like to automate this process: for example, they want to give me the help of output for the 8 modules in integrated form, as well as tables of contents separate for a combination of different modules for different customers like, assistance, modules 1 to 8, 1-2-3, 1-5-6, etc..  They feel the moment this TOC fell in the output of aid, it should automatically start functioning - without compiling!

    I explained the process used to develop Robohelp projects, how TOCs are built, etc., but they want to know if there is a work around, so that when a customer asks for modules 3, 7 and 8, immediately, they can go down the table of contents (for 3-7-8) at the end of the project, and it should work - without compiling , or anything of that kind. I tried Google and Adobe Forum, but couldn't find something suitable.

    Do you have a solution? A solution to this problem?

    What you need is merged help.

    You generate a parent and all the child projects. You always install the parent and then any child projects, you need. OCD, search and index adjusts automatically. See the pages on my site.

    Note, however, that many people take another view for the development of your product. See all assistance and people then view information about something and realize that they need!

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • Table of contents on the alternative networks

    Hi all

    I don't know if I'm the only one having this problem or the workflow. We make proposals in a brochure, and they often require the table of contents. Normally, the proposals are very similar. Often the header changes, but the content is the same. It all depends on the Vice President and the customer receives the proposal. Thus, when the headers change, the table of contents must match. So, I could just crush the headers, updated the table of contents, but then a few days later, I have to return them to the previous headers, update the table of contents again.

    So my solution is alternative layouts. Two very similar proposals, with different headers, which must also new TOC to match these headers.

    My problem is that I can change the parent TOC, but not the child or the second alternative provision. Don't update or I would update the table of contents because it is grayed out.

    Just frustrated. I could simply create a new file, do a save as, but then, I have several files which are technically identical, with one header is different.

    I am currently using Adobe Creative Cloud on a Windows 7 platform.

    I tested it, but there is not a lot of options to choose from. I chose Replace TOC in force, but which does what it says and replaces the table of contents with all the headers from these two layouts. I can't have two COT separated on two separate provisions and have both update with their corresponding page headers.

    Thank you

    Mike

    When InDesign engineers added a new feature (like replacing the CS6 provisions), they usually have a customer need (or needs) in mind, and they try to implement in many ways that this new feature relates to the older features as they can.

    Alternative layout functionality, frankly, was mainly intended for developers who create applications tablet. The tablets can also display horizontally and vertically and may have several different pixel dimensions and pixel ratios.

    Although this feature can also be used for printing applications, it's that it was mainly intended for. I have demonstrated to classes how you can use this to create several posters size or prospectus for printing, and the feature works very well. However, I think you have run into a "side deal" that engineers predict.

    I think the function table of contents was not part of their way of thinking, nor their tests, and the two functions don't seem to not work together. I suggest you request a feature here:

    Adobe - feature request/Bug Report Form

  • Multiple tables of contents in a single text frame?

    I'm just full of questions this weekend...

    I have implemented different styles of Table of contents (TOC) for my text, my paintings and my figures items. Everything generates well and looks like it should.

    Is it possible to have more than one style of table of contents in blocks of text: text TOC followed figure TOC tracked table TOC? It would be easier for my group manage a block of text from multiple dealing with research executives autour brewing and overset text.

    Each table of contents must be an independent history, which means that each needs its own framework. If you do not do this, update a table of contents will delete all the content of the framework, and those who might be threaded to it.

  • Several table of contents in the document

    Hello

    I'm new in the FM8. I recently received a document FM8. The structure of the document is:

    Each document file corresponds to a chapter. Each chapter has a table of contents for its secondary headings and paragraphs.

    Table of contents (here is the chapter of 1 to 10, that chapters)

    Is then Chapter 1 includes a table of contents with all subtitles and paragraphs (for example 1.1, 1.1.1 and so on)

    Chapter 2-10 similarly.

    This isn't everything.

    Chapter 7, 8, 9 and 10 are placed in different folders, corresponding with the title of chapters. The rest of them (Chapter 1 to 6) are placed in the same folder.

    For chapters 7, 8, 9 and 10, I managed to update the second table of contents (which contains subtitles and subsections - for example 1.1, 1.1.1 etc..)

    There is in the main folder that contains the rest of the chapters of the files of table of contents for the main Table of contents and the contents of subeahds and paragraohs corresponding to each chapter. Here, I have problems with their updated because when I opened the book and update only the main table of contents will be updated. The problem appears when I create a PDF file. Because after the creation of PDF when I click on a chapter name in the table of contents it will bring me to the chapter I want to but when I click on the table of contents for subtitles/paragraphs that has nothing happened, except for chapters 7, 8, 9 and 10.

    So, to be more explicit.

    When I click on Chapter 7 in format pdf, acrobat will send me to Chapter 7 where I find another OCD where if I click subead 7.3 that he send me to the page that includes the chapter 7.3. On the contrary if I click on Chapter 4 it will bring me to the page corresponding to Chapter 4, but if I click subtitle 4.3 that nothing will happen.

    I will attach an example of this PDF.

    The structure of the file looks like this:

    Chapter 7 the folder:

    -Book

    -The TOC file Chapter 7

    -Chapter 7 (same goes for Chapter 8, 9 and 10)

    The project folder

    -Book (it contains all files from Chapter 1 to 10)

    -File table of contents (the main table of contents)

    -Files table of contents of the chapters

    -files of the chapters

    Thank you. Any help will be appreciated.

    Excuse my poor English writing.

    Yours trully,

    Fagaras Codrut Sebastian

    It is characteristic: chapter TOC in Toolbox for X of FrameMaker.

    Now, the Toolbox for FrameMaker 7.0, 7.1, 7.2, 8.0, 9.0 download becomes available: www.toolboxforme.com/downloads

    There are purchase orders: for us alone, Germany and other countries: http://www.squidds.de/en/products/price-lists.html
    Please fill.  If you need the previous version of the Toolbox (6, 7, 8), then please write a note in the note field.

    -George

  • How to display the scroll bar on every page of the tab where the content from the same block of data?

    Hi gurus,

    Is it possible to display the scroll bar on each tab on Web tab page where the display of content from the same block of data?

    for example:

    Block of data elements used:

    1. employee ID

    2. first name

    3 first name

    4 date of hire

    scroll bar appears on the page 1

    5 salary

    6 commission

    scroll bar appears on page 2

    Many thanks in advance,

    Kind regards

    Ferrere

    Dear fendy_chang,

    A data block can have only 1 scroll bar. If the form is for display purpose, you can create several data bloks that points to the same table for each tab.

    Manu.

  • How hide the table of contents in the body of an e-book?

    Hey people, I'm kind of a weird request. Do not forget that everything I know about InDesign, I taught myself for a month, so I can miss major somethng.

    As an intern, I am creating ebooks and I have to make sure that those I create the same look as the ebooks previously created for my employer (better yet, I had to do it from scratch!). In their previous ebooks (EPUB file format) the table of contents posted by the ereader clearly indicates a specific style of OCD was used to create (he titles and subtitles, so it is not just the default style that draws from the file names), BUT there is NO table of contents anywhere in the body of the ebook itself. There is also no blank page where a table of contents can be hidden with a hidden layer.

    I created a table of contents to match style to them, but I can't it appears in the drop-down menu Styles TOC when I go to export EPUB book file unless the document of the table of contents is also included in the book file, and as I said, I can't get the table of contents in the body of the ebook itself just in the menu that is displayed by an ereader.

    Any advice?

    Did you use dialogue style of content Table to create a new style of table of contents? If so, then the new table of contents style must appear in the drop-down list TOC Style selected in the dialog box in the Navigation options to export EPUB.

    Kind regards

    POOJA

  • Why is it I can't update a table of contents in Windows InDesign CS 5.5?

    I clicked to a table in the framework of the summary, but in my menu layout, "Update table of contents" is grayed.

    I "moved" my table of contents of an InDesign doc in a new doc, I created weeks ago. I can update in the old doc, but when it is copied into the new doc, the update option is no longer available.

    Why can't I've updated once it is in another doc so I can use its TOC styles & layout rather than to have to redefine those all over again?

    Thank you!

    Layout > Styles of Table of contents > click on the load button.

  • An update on an index column with the same value generates an index to the top

    An update on an index column with the same value generates an update of the index?


    Thank you

    In addition to my previous answer, see also

    http://orainternals.WordPress.com/2010/11/04/does-an-update-statement-modify-the-row-if-the-update-modifies-the-column-to-same-value/

    Riyaj Shamsudeen has this to say:
    "+ We have an index on this column v1 and we update this column indexed too." Oracle was updating the indexed column? N ° if the values match the level of the indexed column, then the code of RDBMS isn't up-to-date index, a feature for optimization again. Only the row of table is updated, and the index is not updated. + "

    Hemant K Collette

  • Indented in the table of contents is not retained in the table of contents of the document

    Hi all

    I use RH7 on a Windows XP Professional platform.

    I am generating documentation and indentation in the table of contents generated in the document is not the same, not even close, as the project.

    I tried to use HTML heading levels maintain checkbox, but while titles fonts are better, indentation in the table of contents for the document is getting worse.

    When I disable this checkbox, it will give me a decent indentation in the table of contents, however the fonts used for headings in the document are sometimes more small then one used for normal text.

    Does anyone has an idea how I could fix it? I don't want to do too much formatting in the Word document either, because it takes a long time.

    Thank you

    Thus in the document that you want to book either title 1 and 2 book 2 and in the table of contents you want this?

    As you can see, this is what I have in the TOC and the body is as described above.

    If you select HTML to maintain levels, you will always get the above with the titles of books but third topic will become a heading 1, as it should with this option checked.

    I maps to a Word template where the TOC styles are defined to be indented as above. Maybe you have to match to a Word template, or if you are, you just need to tweek styles in it.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • How insert/edit a table of contents in the Bookmap?

    Hi all

    I am quite puzzled, how to use a bookmap to create a full PDF with table of contents to FM9? Everyone (well almost...) wants to OCD but I found nothing in the help and did not try it myself. It seems that I would need to insert a table of contents in the frontmatter section.

    Please excuse if there is already a thread, a link would be useful I have search but can't find this problem in the forum. Maybe it's so simple that I'm the only guy to have problems.

    I also read in FM10 help but found nothing there either. All information is available from adobe at all? Update to FM10 would be an option if needed.

    Hi Robert...

    FM-DITA (any version) does not support the automatic generation of a table of contents, Index, etc. a bookmap book lists entry. To create a generated list, you must manually add this element in the generated directory file and regenerate your book. You'll want to do it anyway so that you can assign paging and numbering and apply special models. This procedure is still the best way to manage the map of generating the address of the DITA standard FM...

    http://KB.leximation.com/DFM/?kbid=4

    Other hand (here is the sales pitch)... If you use DITA-FMx, it is provided automatically. Once you have set up the INI file of book-building with the properties and characteristics in the book, lists of books that add you to the bookmap will become good listings and all your pagination and numbering is applied correctly (in addition to loads of other features).

    http://leximation.com/DITA-FMX/

    See you soon!

    .. .Scott

    Scott Prentice

    Leximation, Inc..

    www.leximation.com

  • How can I display the table of contents for the iPod Touch to 6

    When I opened first of all iPod Touch Users' Guide, I used the table of contents (TOC) to locate and access sections in the manual. But, after looking through the manual for awhile, I tried to return to the table of contents, but it wasn't there! I have tried various things to see if the table of contents are being hidden, or if in some way, it has been deleted. Anyone can shed light on this mysterious event?

    What is the version of iBooks that you speak? There is an online version here: https://help.apple.com/ipod-touch/9/ Aha, I see the table of contents on the left disappears if you zoom before or make the narrow window and reappears if zoom you out or make it larger.

    TT2

  • my internet radio stops every 10 to 15 minutes and I have to update it again and again. The same thing with my action also voip internet phone while iam using it

    my internet radio stops every 10 to 15 minutes and I have to update it again and again. The same thing with my action also voip internet phone while iam using it

    Hello
     
    (1) what version of Windows are you using?
    (2) remember to make changes to the computer before the question?
    (3) what browser do you use for Internet Radio?
    (4) what do you exactly mean by the loss of the webradio?
    (5) on which site you want to play the radio?
    (6) using WIndows Media Player to listen to Radio Online?
     
    See also a few following articles dealing on VoIP.
    Troubleshooting VoIP
    How IP phones connect to the network
     
    Get back to us with more information on the issue so that we can better help you to provide the resolution.
  • Why Windows asks me to install the same updates several times. Often several times the same updates and often several times in the same day?

    I install security updates and important. Sometimes in the same day, I wonder to install the same updates. When I check the history I see that they are already installed. This can happen several times in the same day.

    Troubleshooting Windows Update or Microsoft Update when you are repeatedly offered an update

    UTC/GMT is 00:34 Sunday, March 11, 2012

  • How to run multiple copies of distilling on the same machine?

    What version of Adobe PDF Converter do I need to run multiple copies of distilling on the same machine?

    I see that Distiller Server is EOL so what should I use to accomplish the same task.

    Hi mmaraffi,

    You will not be able to run multiple copies of Distiller, because this is a violation of the EULA.

    Let me know the version of Acrobat is installed on your computer?

    Kind regards

    Nicos

Maybe you are looking for

  • Switch in Xcode

    Here is my code for the switch, but it did not work. It shows the value of type ' (AnyObject)--> () ' has no Member 'isOn '. @IBAction func mySwitch (_ sender: AnyObject) {} If (mySwitch.isOn) {//action when the switch is on} on the other {//action w

  • Satellite L450D - 13 X - audio driver Windows XP Home edition does not work

    Hello I have a Satellite L450D-13 X, who was on Windows 7 64 bit, but I just put XP on it, hoping for better game performance.I downloaded all the drivers XP Toshibas and all seem to work except the sound. I've been following discussions about this a

  • Several waveforms in a simple graph

    Hello I need to compare several waveforms (max 10) in a simple graph shape wave. Few of the waveforms are taken directly from Tektronix 11801 B sampling oscilloscope and bit the previously recorded data come from or may sometimes come from the oscill

  • Invalid # license when upgrading from vista to windows 7 using hp W7 Home Prem upgrade disc

    Hello I bought your desktop at the end of Vista so I got a free upgrade to Windows 7, which made me send HP. However, until the last days vista was work fine.  When he had problems, rather than research the issue, I finally used Windows 7 Home premiu

  • BlackBerry Smartphones backup phone?

    Hello, I just received my 8310 stolen and I get the 8320. I backed up my 8310, my question is can I use this return for the 8320? Thank you