Changing index entries

Hi - I'm pretty new to scripting.
I need to change the PageReferenceType from currentPage to suppressPageNumbers for all index entries in a document.
I've got script templates that add entries, but not edit existing ones.
any suggestions would be greatly appreciated.
Thanks,
Dave

for(i=0; i<app.activeDocument.indexes.length; i++)<br />{<br />    app.activeDocument.indexes[i].topics[0].pageReferences.pageReferenceType = PageReferenceType.suppressPageNumbers;<br />}<br /><br />Certainly wrong 90% but maybe a basis for a reflexion ?<br />Loic<br /><br />If it helps, here is a script dealing with your topic<br />http://www.teusdejong.nl/indesign/Cleanindex.jsx

Similar Messages

  • Index entry changes capitalization

    This drove me crazy for a few minutes this morning and I couldn't find anything in the help or the forum. Eventually I figured it out and thought I'd share. I'm using RH 9.
    The entries in my index begin with a lowercase letter unless there's a good reason not to.  So, for example, for the entries for a topic on sales inquiries, I had this:
    inquiries\sales
    sales\inquiries
    When I entered the second one (sales\inquiries), RoboHelp changed my entry to
    Sales\inquiries
    I deleted it and tried again. It did the same thing. So I deleted both entries and tried again. Same thing. I tried this with two other topics. Same thing. Why was it making the first letter a capital letter for sales\inquiries, but not for inquiries\sales?
    I looked at my index and discovered that I had an existing entry for Sales (starts with uppercase S). So, apparently RoboHelp was changing sales to Sales so that I wouldn't have the two variants in my index. This makes sense when you think about it, but it stumped me!
    The solution was to go to the index pod and edit the keyword Sales to be sales.

    I have several index scripts in my archive,  if you are interested, send me an e-mail to [email protected] and I'll send them to you in attachement.
    Kasyan

  • Indesign CS3 crash while generating an PDF or deleting an index entry

    Indesign crashes when I will starting the PDF export. This happens in all Indesign documents which are converted from CS2 and with index entries. So I want to delete the index but Indesign crashes while deleting too. I tried to convert the files in .indx files but nothing changes. Indesign is still crashing.
    Indesign 5.0.2
    Mac OS X 10.5.3
    MacPro Identifier 3,1
    RAM: 4GB

    Hi. Im having the same problems and tried everything. Indesign crashes not just on Exporting, but also Import and Save As. It mostly works with no problem for days and then all the sudden crashes and cant fix it, then in about an hour starts working again, with the exact same document. It seems to me like the software cant find the path it created with the document. For example, if I press just SAVE, its saves with no problem, but when I choose SAVE AS, Indesign crashes after opening the communication window.
    I still have PowerBook, not MacBook Pro, and OS X 10.5.3, so I figured my computer cant handle the new system and CS3. Although Im not having any problems with Photoshop nor other CS3 software, just indesign.
    I would really appreciate some advice or response.

  • Auto index entry generation for a range of sentences?

    Is there any way to mark a range of sentences and associate it with a particular index entry? For a lengthy book, I don't think one can really expect the text to never change, hence regenerating the index needs to continue to work even if a bit of text was added which pushes one of the range of sentences onto the next page.
    The closest thing I found was to mark the beginning of the range of sentences with an index entry for "the next 1 paragraph," but this doesn't seem to work. In my example document, http://goldfinches.org/InDesign/Failed%20Index%20Entry.indd the "Dog" entry spans two pages, but only 1 paragraph, and yet the index that is generated only has the first page in it.

    Greg,
    There is no way to say, index from here to here. But you can use any of the range designators. From what you're describing, the most likely to be useful is the one that indexes up to the next instance of a particular paragraph style.
    Dave

  • Missing index entries

    I have been working on a massive index (about 20,000 entries) on a ID CS6 document, a 700 page biological work of reference where all taxon names should be indexed. Took me several weeks. I produced the InDesign file from a Word file, but entered the index entries in InDesign (there weren't any in the Word file).
    Now I found that many of my entries seem to have gone missing. They do not appear in the generated index. On the page where I entered it, the normal code (a ':' above a '^') is changed in a single ':'. I fear the last code, ':', means something like 'invalid marker', because they also appeared in another (crashed) CS6 document where they represented corrupted MS Word cross references (see "Cross references from a Word file", a still unanswered question on this forum). Normally when you select an index marker, the entry is highlighted in the Index Window. When I select the ':', nothing happens.
    In the beginning of the book, I just marked any singular taxon name, but as it appeared that some taxon names appeared quite often, I started using the 'Add all' button in the index entry window. (I hope I use the right English names, they appear in Dutch for me.) This meant that some taxon names on earlier pages got double markers, but I thought that was no problem because the same markers on the same page only result in one entry in the generated index file. Could this be the bug that's biting me? I haven't found the problem in the later pages of the book.
    A lot of the entries still found their way to the generated index, but of course I find this very worrying. Because I still have to process many author corrrections, I will have to generate the index again.
    So, I have the following urgent questions:
    -     Why does this problem occur, under which circumstances? Will regenerating the index result in more loss of entries?
    -     Can those ':' markers corrupt my file in any way? What are they? (With the "cross reference problem", after some time I was unable to open the file again, which would with this project give me a major problem.)
    -     Can I somehow 'revive' the missing entries automatically? Or is there at least a way to search for the ':' markers? (They are hardly visible.)
    -     How can I prevent this from happening in the future?

    Forum participants are not Adobe employees. We're users like you who volunteer to share what we know.
    Thanks for the added details.
    Usually someone somewhere in the forum's global audience is awake and eager to participate at almost any hour. However, "super storm" Sandy in the USA has caused massive losses of power, transportation, and communication, so responses may be delayed for some time.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Fritschy wrote:
    Thanks for your compliments, although they don't bring me any further.
    The version is 8.0.1, I always update when I'm prompted to do so by the update centre. As far as I know it is an international version.
    Still, I would guess the InDesign developers could tell me something about that ':' marker. I suppose the software didn't invent it itself.

  • I have a manual that contains headings and index entries that contain less than and greater than characters, and . The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the C

    I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?

    The Index issue is more complicated since in order to get the < and > into the index requires the entry itself to be escaped. So, in order to index '<x2settings>' you have to key '\<x2settings\>'. Looking at the generated index entry in the .js file we see '<key name=\"\\2settings\\&gt;\">. This is a bit of a mess and produces an index entry of '\2settings\>'. This ought to be '<key name=\"&amp;lt;x2settings&amp;gt;\" >'. I have tested this fix and it works - but the worst of it is that the first character of the index entry has been stripped out. Consequently I cannot fix this with a few global changes - and I have a lot of index entries of this type. I'm looking forward to a response to this since I cannot publish this document in its current state.  

  • How do I delete an Index entry?

    I created an index entry in Chapter 10 of my FrameMaker book and I have no idea how to look it up.
    Highlighting the entry in the index itself (pic related):
    Shows me this in the Marker Pod:
    How can I find the word that I accidentally created a "le" index entry for??
    Thanks in advance.

    Markers on top of each other can be impossible to distinguish or individually select, without inserting some wide temporary spacing characters to push them apart. This stacking commonly happens when a heading or caption is used for two or more of: TOC, IX, Xref.
    So, in FM, go to the offending source page, and click at the top left of the main text frame. Open the Special > Marker dialog. Do an Edit > Find/Change by Marker of Type: Index, and [Find]. As each is found, its Marker Text will appear in the Marker dialog. Keep finding until you get to the Index marker you need to delete - hit the DEL key.

  • Problems searching for not existing index entries

    Hi,
    we are creating a Java Fat Client Application with JDK 1.5.0_07 and compliance level 1.4. The GUI bases on the SWT libraries.
    The application ships with JavaHelp 2.0_02 (jh.jar).
    The helpset is dynamically merged.
    JavaHelp has problems e.g. during search for index entries, which does not exist. The JavaHelp Window does not react anymore. The rest of the application still works fine.
    Has someone encountered similar problems, found the reason and propably a solution?
    Thanks, Joerg.

    Hi Mikkel
    1) number attributes are only exposed in the complete search sample (search.jsp), not the others (usearch.jsp, tsearch.jsp, gsearch.jsp)
    2) Your understanding of the binary encoding is correct, except wk_queryexp package does not handle binary encoding. This is because that package
    is meant for 9.0.1 API, which only supports string attributes.
    In 9.0.2 and beyond, the encoding of number, date attributes is done in the query API layer in Java, using
    the Equals, GreaterThan, LessThan, Between query operators. Please take a look at search.jsp
    and see how they are used. The compile() method of the query operators will encode the values for you.
    Keep in mind that you should code your application to use the query API, as the encoding algorithm
    may change in the future.
    David

  • Add word variation to already existing index entry

    Dear Common Wisdom:
    Hi!
    I have an index and want to add a variation of a word already in the index and have InDesign use both words in the index listing, not as a sub listing.
    For simplicity, say I was the singular and plural forms of the word to show up together under the same entry.
    How do I do this?
    Thanks!
    cj

    The index entry you insert in the dialog is the one that gets listed in the final index. If you have both "index" and "indices", and you add the entry for "indices", ID shows the Add Entry dialog with this word. Change it to "index", and ID will use that instead.
    (In fact, putting the selected word or phrase into the dialog is just a convenience method. You can also change the text in there to "wow--ee", to have that appear in the index. The 'entry' has nothing to do with the 'real' text in your document -- which is kind of a pain if you make corrections and expect the index to follow automatically.)

  • Find source page for index entries

    In ID CS4, I could Alt-Ctrl-click on the page number of an entry in my index and it would take me to the source page. That doesn't seem to work in CS5. Is there a keystroke that will do it, so I can check to be sure my index entries are correct?

    [Jongware] wrote:
    (Why is it good ol' Framemaker still runs rings around ID, or at least on a few points? Isn't Framemaker on its way out? Will Everything Learned since 1986 be lost?)
    FrameMaker is not on its way out!!! Development on FrameMaker "next" is ongoing.
    I devised this trick to add a 'continued' line to a table -- it works well if you were planning to have the header repeated anyway:
    Insert 2 rows at the top of your table.
    Copy the entire header (originally row #1, now the 3rd row) and put it into the 2nd row.
    Join the entire length of the first row into one single cell.
    Type "Table 124. (continued)" into this cell.
    Adjust top/bottom lines where necessary. Take care if you have different widths for the very top/inner line thicknesses -- you'll have to check if the correct widths get applied at the top, and in the repeating header.
    Select the top 2 rows and define them as Header Rows
    In Table setup, choose to Skip First Occurrence of the header.
    It takes some time to set it up, but the advantage is it's totally autonomous -- the table won't care whether it fits onto a single page, or runs to a next one; the header will always be correct.
    It's one of those things I might write a script for, some day ...
    This is what I may have remembered reading, when I referred to seeing something like my posted solution.
    For some reason I can't edit my posting now, so I'll add my corrections here: it's not necessary to insert an anchored frame to hold the cross-reference, as I described. The anchored frame was a leftover from my first experimental solution. Also, it's not necessary to enter the table title in the paragraph that precedes the table, as the source of the cross-reference; with Jongware's method of using the first non-header row that appears at the start of the table when the header row(s) skip the first instance of the table, you can point the cross-reference to that first non-header row.
    I'll also add a note to Jongware's method: when using a cross-reference to an auto-numbered table-title paragraph style, rather than entering static text such as "Table 124." as in 4. above, the cross-reference updates if the number changes.
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Unable to change the entries in SM30

    Hi all,
    In my program i am inserting records using MODIFY DBTAB.
    COMMIT WORK.
    After the prog execution i hv to change the entries in the DBTAB.
    I am unable to change the created records.
    Can u pls explain me what is happening here?
    Thanks in advance
    Praveen

    To be able to use SM30 to modify any data in a database table you need to have a maintenance dialog generated for that table.
    If you have one generated depending on the type of the dialog (maintenance allowed with restrictions) you will still not be able to modify the data.
    If you need to change data through SM30 you should either create (or change to maintenance allowed without restrictions) and regenerate the table maintenance dialog. Make sure that the existing dialog doesn't have any customization to it because that will all be lost after regeneration.
    The other option to change the data is would be through SE16 and debugger or through a program.
    Hope that helps,
    Michael

  • Index Entries in 9i

    Hi,
    In older versions of designer 1.3.2 Index entries are
    available for foreign keys.
    We have migrated the repository from 1.3.2 to 9i and Index entries are not available in the design editor for foreign keys.When we generate a table in 9i we get error messages because of missing index entries.
    What about Primary keys?Does designer generate Index entries for Primary keys also??
    Kindly Help.

    To clarify, your index entries were in the database but NOT defined in Des 1.3.2 model? Because if they were in the model, then I'd look back at your intermediate migration definitions to make sure the indexes were still defined properly in there.
    In Des 2.1/6.0/6i/9i/10g, Indexes are a separate sub-element (SACs) for a Table Definition. They don't have to be associated with a key structure. And in newer database versions, a PK / UK has an implicit index constructed for it in the database, so Designer doesn't bother showing you the Index in the model. Just the PK or UK itself (again, these are also separate SACs).
    And it's not clear where you're getting the error. During the generate? Or during the instantiation into a database? Neither situation is a common fault.

  • Index entries missing in .chm but are present in the printed version

    This is strange.
    I have a number of index entries as follows:
    troubleshooting/file problems
    troubleshooting/login problems
    troubleshooting/printer problems
    These appear in the .docx (Word) version, which is what I've been using for the review cycle. Today, though, I had the .chm open and I noticed that the entire group of troubleshooting\ entries aren't in the .chm!
    I recompiled the HTML Help, just in case I was looking at an old version and no, they're not there.
    I searched for them in the Index tab, thinking maybe they were somehow out of order, but they're truly not there.
    Any idea what could be causing this?  I'm using RoboHelp 9.

    I don't know how to apply conditional build tags against an index, so I didn't do that -- at least not deliberately
    I looked at the HTML, the Advanced tab in Topic properties, and the TOC page properties. I don't see anything there that looks like a Condition setting. I looked at the HTML externally (that is, went to Windows Explorer and double-clicked the file and then looked at the HTML source). Couldn't see anything. I launched the .chm file and then looked at the HTML for that topic. Still couldn't see anything.
    I opened the .hhk file and I can see the entries for troubleshooting, I believe. Here is what I see:
    <item name="troubleshooting">
            <item name="file problems">
                <section name="Release Information" link="Release_Information.htm">
                </section>
            </item>
            <item name="printer problems">
                <section name="Printing Problems" link="Printing_Problems.htm">
                </section>
            </item>
            <item name="checkerboard">
                <section name="Checkerboard Pattern in Window" link="Checkerboard_Pattern_in_Window.htm">
                </section>
            </item>
            <item name="screen display">
                <section name="Checkerboard Pattern in Window" link="Checkerboard_Pattern_in_Window.htm">
                </section>
            </item>
            <item name="login problems">
                <section name="Login Problems" link="Login_Problems.htm">
                </section>
            </item>
            <item name="misc problems">
                <section name="Other Problems" link="Other_Problems.htm">
                </section>
            </item>
            <item name="Reporting Services Reports">
                <section name="Reporting Services Reports Problems" link="Reporting_Services_Reports_Problems.htm">
                </section>
            </item>
            <item name="sorting problems">
                <section name="Sorting Incorrectly" link="Sorting_Incorrectly.htm">
                </section>
            </item>
        </item>

  • Send a Change Document entry when an equipment change its status (IE02)

    Hello experts,
    In the transaction IE02 (Change Equipment), when a user changes the equipment status, for instance, from Active (ACTV) -> Inactive (INAC) when the SAVE button is pressed I need to post a Change Document entry (CDHDR and CDPOS).
    I've already identified the user exit EXIT_SAPMIEQ0_002 which is triggered when the SAVE button is pressed in IE02 transaction. I cannot read the new status value.
    At that moment I can read the old status (which has been change until the user exit finalized) but I don't find a way to check if that old_value <> new_value.
    Does anybody knows a way to achieve this?
    Thanks in advance,
    CL

    Stauts changes are tracked in the table JCDS and not in CDHDR and CDPOS.
    You will have to check the box for Change documents in the configuration for equipment status ( this is done on equipment type's status profile ). The status change tracking will not happen until it has been set there.
    Thanks,
    Srihari

  • TOC and Index entries sometimes blank in WebHelp output

    I'm running RoboHelp 10, generating Help files using the WebHelp target.
    Sometimes, in the WebHelp output, clicking a Table of Contents or Index entry restults with a bank topic. This issue is resolved my either maximizing/minimizing the screen or by refreshing the browser.
    The issue does not happen consistently in the output. As well, it seems to only happen in Internet Explorer 10.
    Is there a work-around for this issue?

    Just installing the patches is not enough. Adobe release some smaller
    fixes for WebHelp on IE10/11 and Chrome. (4 in total) For an overview of
    all RH fixes, see
    http://www.wvanweelden.eu/articles/robohelp-patches-and-updates
    Kind regards,
    Willam

Maybe you are looking for

  • Slow queries and full table scans in spite of context index

    I have defined a USER_DATASTORE, which uses a PL/SQL procedure to compile data from several tables. The master table has 1.3 million rows, and one of the fields being joined is a CLOB field. The resulting token table has 65,000 rows, which seems abou

  • Album art not transferring to nano!

    I just took this 4gb nano out of the box, and I can't get my album art to be displayed while any song is being played. I have checked the box in itunes to "display album artwork on your ipod", but the art is still nowhere to be found. The art is on t

  • Solaris 10 x86 u6

    Hello. Has anyone succeeded in getting Solaris to recognize disks attached in a Dell PowerVault MD1000 connected through a PERC5/E controller? These disks arent found during installation. If anyone could give me some pointers I'd gladly appreciate th

  • Flex DataServices necessary working with  Java

    Hello, Im pretty new in Flex but like to know a few things for my company. The situation is this: We have a very large webproject with about 6000 JSP-Pages. Now we want to use new web 2.0 technologies to gain more usability, maintainability...... Its

  • Review Not Being Posted?

    I love my WP7 and went to review the device and put in a good word for how much I like the OS and the phone.  However, my review has never been posted and it's been several days since I posted.  As a matter of fact NO reviews for the device have been