Is this a bug in createTOC? EXCLUDE_NUMBERS does not work.

Hello

I tried to update the table of contents by script. Everything is fine, except that it always microphones full text of paragraph.

I want to exclude the automatic numbering of the text of the paragraph.

The script is below:

sty var = doc.tocStyles.firstItem ();

sty.numberedParagraphs = NumberedParagraphsOptions.EXCLUDE_NUMBERS;

doc.createTOC (sty, true);

Table of contents by InDesign works well, but the script is not to update manually.

With ExtendScript Toolkit, I tried debug and check the value of is sty.numberedParagraphs EXCLUDE_NUMBERS.

But when to run "createTOC", it always microphones full text of paragraph (with autodial).

I missed something?

The 'Make text in paragraph source anchor"shows the same behavior: works very well when a table of contents is done manually, but do not work when the table of contents are created by a script. Please log a bug against the problem you describe (feature request/Bug Report Form).

Peter

Tags: InDesign

Similar Questions

  • Recently, I ran an anti-virus and learned that my netBT.sys file was corrupted. The anti-virus software installs this file but now my internet does not work.

    netBT.sys replacement files viruses

    Recently, I ran an anti-virus and learned that my netBT.sys file was corrupted.  The anti-virus software installs this file but now my internet does not work.  I guess I have to replace this file, but don't know how.  I see that I need to use my windows XP CD but my CD drive is broken.  How can I go about replacing this file?

    Thanks in advance

    Hi DonMendigo,

    Follow the suggestions below for a possible solution:

    Method 1: Try the SFC (System File Checker) scan on the computer.

    To run the System File Checker tool, follow these steps:

    a. click Startand type cmd in the box start the search.

    b. right click on cmd in the list programs, and then click run as administrator.

    c. If you are prompted for an administrator password or a confirmation, type your password or click on continue

    d. at the command prompts, the following line and press ENTER:

    sfc/scannow

    See also:

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    http://support.Microsoft.com/kb/310747

     

    File system (CFS) Checker

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/system_file_checker.mspx?mfr=true

     

    Method 2: If you are still unable to connect to the internet, then follow the article in the Microsoft Knowledge Base and check.

    Programs Internet in Windows XP cannot connect to the Internet via a connection to wide band

    http://support.Microsoft.com/kb/307164

     

    I hope this helps.

  • How can I install CS5 on a replacement/new laptop? I paid full price in 2011 and the key (and it appears in my Adobe account under products), but it was a downloaded product and I can't find a download of this online version and my key does not work

    How can I install CS5 on a replacement/new laptop? I paid full price in 2011 and the key (and it appears in my Adobe account under products), but it was a downloaded product and I can't find a download of this online version and my key does not work in CC.

    Your key does not work in CC, this is a newer version and would require a new purchase.

    Downlaod CS5 here.

    Download the CS5 products

  • Bug in AIR, landscape does not work

    First: In my FlashCS6 I export for AIR 3.2 and I test on my Samsung Galaxy S3.

    Now on the bug. In Flash, AIR controls under general we have landscape and full screen, I chose the two of them, now, when you open the application on mobile, turn off the screen and you rotate the phone, the screen turns into portrait orientation.

    If 'push' landscape option does not work.

    Any solution for this?

    Download the SDK you want to try, might as well be AIR 3.6 at this stage. Unzip the package to download a file. The folder can keep its name and its location, but out of habit I've name it correctly and put it in the Flash Pro folder. So, I have an AIR3.6 folder sitting next to Flash Pro CS6. Then go to the Help menu in Flash Pro and choose the option manage AIR SDK. There, you can add in the SDK you just expanded and then choose as the version of the player in the properties panel.

  • Bug Flash possible? Does not work on Windows 7, explorer11


    I have a problem with Adobe Flash. It seems is not or to work properly and I'm trying to debug the problem to see if it a bug to Adobe or something else.

    I have two old laptops and new side by side to solve problems, both use the same version of windows 7 home, internet Explorer 11, adobe flash, directx 11, Norton, etc...

    But the newer faster i5 mobile Adobe Flash guard housing on.

    -J' checked (by report) all settings security to explore between all the computers seem to be the same.
    -Flash is enabled in internet explore 11, add-ons
    -latest version of flash has been installed and has been reinstalled (even a copy saved on the disk and run the disk offline).
    -down cache explore 11
    -flushed out of cache from adobe
    -active x of filtering is disabled

    -restart the computer.

    I find it a bit frustrating that what is originally flash malfunction, someone at - it ideas to try?

    on https://helpx.Adobe.com/Flash-Player.html
    It indicates that I installed the latest version

    on the Adobe - Flash Player: settings - global privacy settings panel Manager

    None of the panels is displayed

    but on the http://www.Adobe.com/software/Flash/about/
    It does not display the little saying version information window you have installed x.x.x.x or the red box of adobe bouncing displays it as on my laptop more old. but when you click on the global settings menu it says that you have installed the latest version...

    example: playing a flash game online, www.volvooceanrace.com loading the game asks to open a session, and then you hear sounds and then seems to not load, proceed to others, or crashes. There are 170 000 daily players using this flash game.

    First of all, check that the ActiveX filtering is configured to allow Flash content:

    https://forums.Adobe.com/thread/867968

    Internet Explorer 11 introduced a number of changes both in the way the browser is identified with remote web servers, and how it treats JavaScript for behavior targets specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the provider of content changes their site to conform to the new approach to development required by the modern versions of IE.

    You can try to work around these problems by using the compatibility view:

    http://Windows.Microsoft.com/en-us/Internet-Explorer/use-compatibility-view#IE=ie-11

    If it's too inconvenient, using Google Chrome may be a better alternative.

  • Bug? : layers.add () does not work correctly when called from the menu (ID/CS6/Win7)

    Hello Devs,

    I am facing a mysterious problem with the layers.add () method.

    I am trying to create n number of layers for my document. So I decided to create a menu for that.

    I created two scripts

    1. for creating menu & menu action.

    2. real script that creates n number of layers.

    When I run the script #2 of ESTK directly it works fine.

    Now when I try to call the same script in the Menu it does work very well. Only the last layer is created.

    Script 1: LayerPopupMenuAction

    #target indesign
    #targetengine createLayerset
    var layerTemplateScript = File(File(getActiveScriptPath()).parent.fsName+"/IntializeTemplate.jsx"); 
    
    var initTemplateHandler = {
        'beforeDisplay' : function(ev)
            {
                ev.target.enabled = (app.documents.length>0);
            },
        'onInvoke' : function()
            {
                app.doScript(layerTemplateScript, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.FAST_ENTIRE_SCRIPT, "Initialize Script");
            }
        };
    
    var layerMenuAction = app.scriptMenuActions.add("&Create Layer Set");
    
    for(var init_ev in initTemplateHandler) {
        layerMenuAction.eventListeners.add(init_ev, initTemplateHandler[init_ev]);
        }
    
    var refMenuItem = app.menus.item("$ID/LayerPanelPopup");
    refMenuItem.menuItems.add(layerMenuAction, LocationOptions.AFTER, refMenuItem.menuItems.item(2));
    
    function getActiveScriptPath() {
        // This function returns the path to the active script, even when running from ESTK
        try { 
            return app.activeScript; 
        } catch(e) { 
            return e.fileName; 
        }
    }
    

    Script 2: IntializeTemplate

    #target indesign
    if (app.documents.length == 0){
        alert("Please open a document and try again", "Document Error", true);
        exit();
        }
    
    var templateDoc = app.activeDocument;
    
    var layerNameArray = ["Fixed_Static_Assets", "Absolute_User_Assets", "Relative_User_Assets"];
    CreateLayers(layerNameArray);
    
    alert("Initialization Successful");
    
    
    //--------------------------------FUNCTIONS ARE DEFINED HERE--------------------------------
    function CreateLayers(LayerNameList){
        var layerListLength = LayerNameList.length;
        var layerObject;
        for (var ln=0; ln<layerListLength; ln++){
            layerObject = templateDoc.layers.itemByName(LayerNameList[ln]);
            if (layerObject.isValid==false){
                layerObject = templateDoc.layers.add({name:LayerNameList[ln]});
                //$.writeln('Layer Creation: ' + layerObject.isValid + ' for '+layerObject.name);
                }
            }
        //Merger Default Layer with the bottom layer:
        var defaultLayer = templateDoc.layers.itemByName("Layer 1");
        if(defaultLayer.isValid==true){
            //$.writeln('Default is Valid and will be merged with top most layer');
            layerObject.merge([defaultLayer]);
            }
        }
    

    Any help / advice on this topic will be useful.

    @Marijan Tompa [tomaxxi]: I googled for the solution and I noticed that you have already worked on the same type of script. Please help me if you can.

    Thank you

    Green4ever

    Hi Green4ever,

    I think at a first sight, UndoModes.FAST_ENTIRE_SCRIPT , who, as you may know, can scramble deeply the script steps, especially when one ... try statement catch is used.

    Try to replace FAST_ENTIRE_SCRIPT by ENTIRE_SCRIPT and tell us.

    @+

    Marc

  • I have a game called lego rock raiders that it installs but wont run with d3drm.dll. I tried to download this file, but the game still does not work

    I tried the compatabity program and went to the site of lego looking for patches and found nothing

    Hello

    D3DRM. DLL is the library of dynamic links for Direct3D Retained Mode

    Check out this link. It should help

    http://social.msdn.Microsoft.com/forums/en-us/windowsgeneraldevelopmentissues/thread/a0c2561b-492C-42d7-8f92-c55fe278808d

    It may be useful

  • My weather Gadget says "unable to connect to the service. I use this gadget for years and it does not work.

    I use Windows 7 Enterprise and since the beginning of February this year (2015) my weather Gadgets stop working, they first show the forecast and now they are showing a message "unable to connect to the service. Is there a problem with the gadget?

    Everyone!

    I recommend this link with more instructions and information on how to solve this problem of wwcc1 and his post on 2015-Feb 5: here

  • BUG status: File.deleteOnExit () does not work on open files (win32)?

    I'm a bit confused about the status of the below bug:

    http://bugs.Sun.com/bugdatabase/view_bug.do?bug_id=4171239
    http://bugs.Sun.com/bugdatabase/view_bug.do?bug_id=6357433

    Is fixed? I use jdk1.6.0_25 32-bit on a 64-bit windows computer 7 where I create a temporary folder:
     
    
    
        File tempDir = File.createTempFile(name, "");
        if (!(tempDir.delete())) {
          throw new IOException("Could not delete temp file" + tempDir.getAbsolutePath());
        }
        if (!(tempDir.mkdir())) {
          throw new IOException("Could not create temp file" + tempDir.getAbsolutePath());
        }
        tempDir.deleteOnExit();
    It works fine if the folder is empty. But if I put a test.txt file in the folder created its not deleted on exit. DeleteOnExit() works only on empty folders?

    Yes, what I said above.

  • Computer startup that Firefox runs great. After the closure of this UO several times, the icon does not work anymore and you cannot restart Firefox without having to restart. Why?

    At the start of new computer, you can load Firefox OK. After closing repeatedly, the icon on the desktop won't open Firefox... or go to programs and click on Firefox. The only way you can get it working again is to restart the computer, but then you only bring up Firefox several times again without haviing to restart. I even tried to restore the computer to earlier dates without result. If I use Internet Explorer to open Firefox the same thing happens. I tried to remove Firefox and reinstall, but it tells me that Firefox must be closed to continue. I don't see where it is open. Advisor

    See "hang out":

    See "Firefox crashes when you exit it:

  • Diginotar certificate is on the list of certificates accepted into Mozilla 7.0. Is this an oversight or my update does not work properly?

    I am very confident that Diginotar withdrew lists accepted certificates in my version of Windows desktop Mozilla 6.0.2. However, when I was having sex in the security options in Mozilla 7.0, I noticed that DigiNotar and DigiNotar B.V. were included on the list of accepted certificates. I'm curious to know if the updates made by 6.0.1 and 6.0.2 were defeated by v. 7.0

    You can click the button Edit in DigiNotar certificates to verify that every bit of the trust are unchecked.

    That will make it impossible for them to be used as the certificate root.

    Select a certificate of DigiNotar in Certificate Manager.

    • Click the button change to verify that every bit of the trust are unchecked
    • Click on the view button and click details to check that the certificate has been disabled (explicitly distrust DigiNotar Root CA)
  • I just started learning the PLSQL and I wrote this code of implementation, but it does not work?

    CREATE TABLE LUKE

    (Department_nn varchar (12),)

    Number of Emp_idd (12) not null

    );

    insert into values Luke ("accounting", 11);

    insert into values Luke ('Sales', 00);

    insert into values of Luke (TI", 22);

    DECLARE

    CURSOR cur_luc is

    Select

    Department_nn,

    Emp_idd

    Luke;

    My_cur_luc cur_luc % ROWTYPE;

    BEGIN

    Open cur_luc;

    LOOP

    extraction cur_luc

    in My_cur_luc;

    DBMS_OUTPUT. Put_line ('Emp ID: ' |) My_cur_luc.emp_idd);

    dbms_output.put_line ('Row count: ' |) My_cur_luc % number of lines);

    END LOOP;

    / * IF cur_luc % isopen THEN

    close cur_luc;

    END IF; */

    END;

    Thank you very much, I just figured out the problem, I have not called on my cursor in dbms_output.putline(cur_luc%rowcount). I called the recordname My_cur_luc instead.

  • try to change this dynamic jquerty imgen code but does not work

    the code is

    var element = sym.$("image_1");

    Element.Attr ("src", "image_2.png");

    No coments

    Indeed, when you use attr, you will need to change the image of div to img.

    Another way would be to use the css background image - in which case you can keep the div.

    SYM.$('elementName'). CSS({'background-image':'url("images/ImageName.jpg")'});)

  • When I hit send file, send it to this page or send link does not work

    When I hit the file send send this page or send the link does not work

    * original title - my file, send a page or the link does not work *.

    Hello

    Welcome to the Microsoft Answers Forum!

    Please provide us with more information.

    ·         What on the computer email client do you use?

    Windows 7 is not no matter what installed integrated e-mail client that is required to send links. You may need to either install Windows Live Mail or Outlook.

    You can visit the below mentioned link to download windows live mail.

    http://download.live.com/wlmail

    If you want to install Outlook and then you will need to post your question in the newsgroup to the Office to get the best resolution. Please see the link below:

    http://www.Microsoft.com/Office/Community/en-us/FlyoutOverview.mspx

    I hope this information helps. Please get back to us if you have any other questions on this subject.

    Thanks and greetings

  • This device does not work properly because Windows... this device. (Code 31)

    Hello buddies, how to solve this problem (code 31)

    USB does not work on my PC, I found that it was the problem of the unit. and he wrote that this device does not work properly because Windows cannot load the drivers required for this device. (Code 31).

    How can I solve this problem?

    In addition, you can check the following registry key? :

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ (36FC9E60-C465-11CF-8056-444553540000)

    Is there a 'name' UpperFilters and LowerFiltersin the registry for this key, in the right window?

    If so, what is 'Data' for these names?

Maybe you are looking for