Skip to content

Adobe InDesign: SDK/Scripting Bugs and Features

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback

111 results found

  1. [ExtendScript/UXP] Position layoutWindow viewport

    I would like to be able to specify a layoutWIndow viewport's center.

    In Illustrator, we can position the center of the window's (a View, in Illustrator) viewport in document coordinates, so we can, for example, center a page item in the window.

    I would much appreciate this addition to Indesign scripting.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. InDesign Scripting Guide - Script Requirements

    Hi Team,

    I am developing Adobe Plugins that work with Adobe Illustrator and InDesign. We need your support for the following requirements.

    1. Please provide an official scripting guide for Adobe InDesign.
    2. We cannot find the right script for the following actions in InDesign 2.1. To read and write leading from and to a Text Frame. 2.2. How to create groups or groupItems in InDesign? 2.3. How to add textFrames and other groupItems into the groupItem in InDesign? 2.4. To read and write width from and to a Text Frame. 2.5. To read and write height from and to a TextFrame.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. CC 2022: outdated linked Indd-Document on MasterSpread replaces content

    I am met with the following bug on our 2022 server (v17.4.2):

    when updating outdated links via script I use this line:

    openDoc.links.everyItem().update();

    however, if those outdated links are linked indd-pages contained on my masterSpreads, then instead of updating the links, the contents of my document will be completely replaced by the contents of that linked file.

    I encountered the same bug when using place() to place another indd document containing the same outdated links. So place() also replaced the contents of my file. the image shows the contents of my file before and after updating my links.

    This is…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  InDesign Server  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. InDesign hangs when placing text

    This bug has been around for a long time. It would be nice to have it fixed.

    Steps to Reproduce:
    1. Install the Adobe font family, Source Han Sans TW, on your computer.
    2. Create a folder: c:\Temp and give everyone full permissions.
    3. Download Script1.jsx and place it in "C:\Users<User>\AppData\Roaming\Adobe\InDesign\Version 19.0-J\en_US\Scripts\Scripts Panel"
    4. Start ID 2024 running in the CJK region.
    5. Open the scripts panel and run Script1.jsx
    6. Wait as long as you would like.

    Actual Result: Usually InDesign hangs (i.e. freezes). Sometimes InDesign crashes and submits and crash report to Adobe.

    Expected Result: That the script…

    4 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    6 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. ScriptUI is not fully compatible with UI scaling

    When UI scaling is set to anything higher than the minimum, some scriptui palettes behave very unexpected and are not useable anymore. More simple windows do work fine, though.
    I suspect that some complex ui elements such as the ListBox trigger this behaviour, somehow confusing the layout manager. I found that a (palette) window is rendered too small if it includes a ListBox. Any attempt to resize the window by the user makes all elements go away (or the whole window in ID 2024).
    In another case, programmatic positioning of the palette made it disappear. This works fine as long…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. Two calls to waitForProcess() required to preflight some files

    When preflighting some files IDS outputs a "No errors yet; still looking" message to the console and no preflight results are returned.

    But when we make 2 calls to waitForProcess() we can retrieve the preflight results.

    Sample jsx file attached (as a .txt file). I can supply .idml files that require the two waitForProcess() calls.

    We found the fix on a German forum post from 2014: https://www.hilfdirselbst.ch/foren/Preflight_Meldung_No_errors_yet;_still_looking__P529496.html

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  InDesign Server  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. Sample script "PlaceMultipagePDF.vbs" does not work properly

    Related threads in the support community
    https://community.adobe.com/t5/indesign%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A9%E3%83%A0/ct-p/ct-indesign-jp?page=1&sort=latest_replies&filter=all&lang=all&tabid=discussions&profile.language=ja

    The above is a recent event, but the following thread is from 2018. We can assume that the situation is not good and has been going on for several years.
    https://community.adobe.com/t5/indesign-discussions/indesign-placemultipagepdf-script-only-adds-pdfs-to-the-end-of-the-document/m-p/14015164?profile.language=en#M538521

    I can't try it in CS already, but presumably the problem is still the same and bad in all versions since CC.

    The "PlaceMultipagePDF.vbs" set of sample scripts pre-installed in InDesign clearly behaves abnormally compared to the .jsx, .applescripts of the same name.

    Observing the behavior of .jsx and .applescript, it seems that the following processing steps are involved. 1.
    1. display…

    13 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  VB Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. QR Code Contents Reader

    Hi,

    It would be really helpful if we were able to access the contents and colour of a QR code using a script so that they can be batch updated using a script.

    For example, I have hundreds of documents containing 100 Web Hyperlink QR codes and I want to update all the ones that contain "utmcampaign=summersale" to now be "utmcampaign=summersale" and turn all the QR codes that are black to now be red.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. Generate Adobe Color files from hexadecimal

    Generate Adobe Color files from hexadecimal

    There is a way to generate an *.ASE file for importing color samples into Adobe software (PS, AI, ID...) starting from a list I have in a TXT, CSV, EXCEL or other file.

    example of the list:

    e0cffc

    c29ffa

    a370f7

    8540f5

    6610f2

    520dc2

    3d0a91

    290661

    140330

    therefore I would like these color codes to be saved in an *.ASE file that can be imported into INDESIGN which generates the 9 colors (9 as 10,000 colors)

    Step 2 (optional) - if these colors can somehow be "also" converted from HEX to CMYK

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. Redirect support to the InDesign from web browser

    Adding the ability to handle redirects to the InDesign CEP/UXP extensions would make the authorization process for extensions in third-party services easier.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. findColor() returns a number, it should return objects to which the colour was applied

    Using the Colour tab in the Find/Change dialog you can search text and/or objects to which a certain colour was applied in the document. That works fine.

    However, in a script, this call:

    app.findColorPreferences.properties.findWhat =
    app.documents[0].swatches.item ('red');
    app.documents[0].findColor();

    returns the number of objects to which the swatch 'red' was applied. It should return the objects to whci the swatch was applied.

    This makes the function entirely useless. Please fix this.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. Moving Anchoring Text to Anchored Object Crashes InDesign

    Given a Text instance (source) that contains an anchored object (U+FFFC marker), the command source.move(…) crashes InDesign if the destination (TextFrame, Text, InsertionPoint…) is itself an anchored object (or inside it).

    Code:
    // Tested in ID CS6 and CC
    // (see animation)
    const BEG = LocationOptions.AT_BEGINNING;
    var TFS = app.activeDocument.textFrames;

    source = TFS.itemByName('source').texts[0]; // Text: contains the anchor

    host = TFS.itemByName('host'); // TextFrame: 'host' frame
    dest = host.textFrames.itemByName('dest'); // TextFrame: 'dest' frame

    source.move(BEG,dest); // --> ID crash
    //source.move(BEG,host); // WOULD BE OK
    //source.duplicate(BEG,dest); // WOULD BE OK

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. Allow Mail Merge Preview Scripting

    It would be super handy if we could make a few options available to improve the mail merge process and automation via scripting. These include:
    1. Allow the mail merge preview to be switched off and on via script
    2. Allow the data file to be refreshed via script

    I'm trying to build a script that basically turns off preview, refreshes, turns preview back on. In an ideal world this would just be a refresh button at the bottom of the data merge panel that does all this behind the scenes - that also has the ability to be called…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. Buttons are not working when a top layer is blocking it's under layer.

    Hi, buttons don't work if the layer is placed under a layer. It is like the image remains on top with 0% opacity and everything under it, is unclickable.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. getSystemPath using CSInterface throws URI Malformed error

    I was trying to get the my documents folder path of the system using CSInterface getSystemPath function. It works in most of the cases. But it throws URI malformed error (refer the screenshot below), if the path of the documents folder contain characters from languages other than English.

    I debugged the CSInterface.js file at line 521. And I found that the below piece of code returns the path of the folder without encoding the characters from languages other than English.

    window.adobe_cep.getSystemPath(pathType)

    IN MY CASE:

    Path of documents folder: "C:\Users\sanjay\OneDrive - Élégante\Documents".

    window.adobe_cep.getSystemPath(pathType)
    // Returned value -…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  CEP  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. The CreateTOC function regularly crashes InDesign 18.0.

    It has worked fine in previous versions of ID (at least up to v17.0).
    I've yet to work out the fine details, but some documents I create are fine. Most aren't. Creating the TOC manually seems to work.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  VB Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. API REST calls in Scripting for InDesign

    Use scripting to contact a database through API and get a list for the data merge. If this is available already, I'm at a loss on how to implement it and would love assistance.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. hyphenationExceptions in Dictionary

    Hi,

    app.documents[0].hyphenationExceptions.itemByName("English: UK").name.

    It returns,

    English: USA.

    https://community.adobe.com/t5/indesign-discussions/hyphenationexceptions-in-dictionary/m-p/13001402#M480763

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. Expose footnote and endnote numbers to the DOM

    Currently, footnote and endnote numbers are not exposed in de DOM, and can't be used in a script. Please expose them, so we could do stuff like this ...

                var endnoteText = myNote.texts[0].contents;
                var endnoteNumber = myNote.number;
    
    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. Add possibilty to hook into Context Menu and reciece the selected Context Menu Item

    I'm looking for a way to add custom scripts to the context menus (right click with the mouse) of the paragraph style and the character style palette.

    So the user finds the style he's looking for, right clicks on it, chooses my script, the script gets the reference to the selected style item, and runs with it.

    I asked this in the forum (in 2015), and it’s still not possible but hardly missed:
    https://community.adobe.com/t5/indesign-discussions/id8-js-context-menu-item-for-paragraph-and-character-style-palette/td-p/7416881

    Thanks, Tobias

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
← Previous 1 3 4 5 6
  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base