Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 15 posts - 91 through 105 (of 340 total)
  • Author
    Posts
  • Peter Kahrel
    Participant

    Terre — That book’s main purpose is to help people get a start with using the ESTK and the object model. And since I’m primarily a text-oriented person, that’s what most of the examples tended to be. The purpose of user forums is to get information about specific topics, so if you have any queries, please post them here. Another place to go to is Adobe’s forums (Adobe’s forums are still recovering from a Grand Forum Upgrade so for the moment they’re not as hospitable as they used to be).

    P.

    in reply to: script to create Pharmacode one track? #14323832
    Peter Kahrel
    Participant

    Marc Autret has a script to do barcodes. Whether that one does pharma codes I don’t know, but you can ask him. http://www.indiscripts.com

    P.

    in reply to: Relink images based on page number #14323833
    Peter Kahrel
    Participant

    > I believe that the method for getting a page’s “name” is simply thisPage.name

    Correct: a page’s page number/folio is its name.

    in reply to: randomply disappearing footnotes from word #14323834
    Peter Kahrel
    Participant

    InDesign’s treatment of Word’s footnotes has always been lousy. You can try saving the document in Word as DOC, not DOCX. That often produces better placed files in InDesign.

    P.

    Peter Kahrel
    Participant

    You may think of the ESTK’s OMV what you will, but it’s the only one that shows the properties of scriptable plug-ins. Gregor’s OMV is a reflection of his computer. Theunis’s OMV shows whatever he has installed. If I want an OMV like theirs that shows my scriptable plug-ins as well, I have to build it myself using their tools. But I don’t have to, because the ESTK does it all for me! (For the time being, anyway.)

    in reply to: Variable number in paragraph style #14323967
    Peter Kahrel
    Participant

    You don’t need a variable for that. You can use the word ‘Article’ in the Number field in the Numbering Style panel of the Bullets and Numbering tab, followed by the level character:

    Article ^#

    P.

    in reply to: Indexing – duplicate page number #117258
    Peter Kahrel
    Participant

    You’re out of luck. This can be done only by very convoluted scripting. Same happens with footnotes. It’s one of the weaknesses of InDesign’s index feature. Please log a feature request at https://indesign.uservoice.com

    P.

    in reply to: GREP Finding Bible Verse References #114855
    Peter Kahrel
    Participant

    Some text examples of verses, please.

    in reply to: Word to InDesign, with Endnotes #114850
    Peter Kahrel
    Participant

    I read somewhere that there are considerable differences in how InDesign treats footnotes and endnotes depending on whether you’re placing a .doc file or a .docx one. So if you try .docx and the result is bad, open the file in Word and save it as .doc (or the other way round: if .doc doesn’t work right, try .docx)

    in reply to: GREP Finding Bible Verse References #114849
    Peter Kahrel
    Participant

    Could you give some examples of what you’re looking for?

    in reply to: Missing font alert stops script #114778
    Peter Kahrel
    Participant

    You need the AppleScript equivalent of this JavaScript line:

    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;

    Afterwards you have to re-enable alerts (which includes all InDesign’s panels and dialogs):

    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;

    P.

    in reply to: GREP Find and replace expression #114739
    Peter Kahrel
    Participant

    It’s caused by the identical times. If you change 13:39 to any other time in ’13:39 Jane: No no it’s okay’ the problem doesn’t occur. But since you can do only every other line, not every line, the grep query is of limited use anyway. A script would probably be more useful.

    in reply to: GREP Find and replace expression #114721
    Peter Kahrel
    Participant

    This one:

    ^.+?(.+?:).+\r\K.+\1

    Looks at names, not times. But it matches only the second identical name. You could do an expression that matches all, but because InDesign doesn’t allow non-contiguous selections, you wouldn’t be able to replace anything.

    P.

    in reply to: GREP Find and replace expression #114658
    Peter Kahrel
    Participant

    Find what: ^(.+? ).+\r\K\1
    Replace with:

    P.

    in reply to: Footnote Special Character / Marker #114273
    Peter Kahrel
    Participant

    > When I only do the footnote the number doesn’t show up. For instance, with this code below:

    > var footnote = tf.footnotes.add(LocationOptions.AFTER, location)
    > footnote.contents = text.toString()

    The number doesn’t show up because you delete it by replacing all the footnote content. You should add the text after the footnote number and the separator:

    footnote.insertionPoints[-1].contents = ‘whatever’;

Viewing 15 posts - 91 through 105 (of 340 total)