Adobe InDesign: SDK/Scripting Bugs and Features

  1. GREP Find and replace Script not working CC2019

    We are getting below error while running the GREP script in InDesign CC2019, but same is working fine in CS6 version. Please check and fix this bug quickly to migrate CC2019 version.

    Error: User canceled this action

    7 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    4 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  2. Scripting | graphicLayerOptions : Changing visibility of graphicLayer will change ID number of placed graphic

    Problem Description:
    If you change the visibility of a graphicLayer of a placed graphic, could be a PDF, a PSD, an InDesign page or a AI file, the ID number of the placed graphic will change. The result of this is, that "everyItem().doSomething" with object graphicLayer will not work at all.

    Steps to Reproduce:
    1. Place a graphic with some graphic layers.
    2. Access the graphic layers of the graphic by scripting and try to change eg. currentVisibility for all graphic layers in one go.
    Frame holding the graphic is selected. The script snippet below should do this easily. However,…

    5 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  3. Preferences folder access via ExtendScript with macOS Catalina public beta 3

    I've installed macOS X Catalina public beta 3 and I have an annoying issue with scripting.
    I can't access to the user's preferences folder via Javascript even if I've assigned to InDesign full file system access in the security panel of the system preferences.
    I can't read any files inside the user's Library so that I can't load a GREP query for example.

    Hope you find a fix on this.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  4. Запись операций

    Возможно создать вкладку с записью операций, чтобы принцип работы был реализован, как в Photoshop.
    А также панель с историей работы в файле.
    Скрипт работы с формулами непосредственно в самой программе InDesign.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  InDesign Server  ·  Flag idea as inappropriate…  ·  Admin →
  5. ExtendScript feature: asynchronous PDF export for indb books

    I'd like to see an asynchronous export option for indb books as it exists for indd documents because why not.
    Currently I work with 10 indb projects and I'd like to export them by 4 using all the power of my 4-core cpu, but I can only export them one by one due to lack of asynchronous export option.
    At the same time I'm able to export 4 indd files using existing asynchronousExportFile() method.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  6. Bug with index entry

    If you select a word after a table (»sit« in InDesign document: https://adobe.ly/2X0wXOi) and create an index entry using script, the page reference will be created after the word (under certain circumstances).

    var _doc = app.activeDocument;
    var _docIndex;

    if(_doc.indexes.length === 0) {
    _docIndex = _doc.indexes.add();
    } else {
    _docIndex = _doc.indexes.firstItem();
    }

    var _textObj = app.selection[0];
    var _parentTopic = _docIndex.topics.add("Topicname");
    var _pageRef = _parentTopic.pageReferences.add(_textObj);

    – word before that, everything's correct.
    – tables with 3 or more rows
    – the more table rows the more offset

    3 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  7. How to turnoff Type contextual controls in Indesign CC 2018?

    app.typeContextualUiPrefs.showFractionsUi = false;
    don`t work

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  8. A reference to panel item 25 breaks a script

    There's a rogue panel that breaks InDesign CC2019 when it is referenced (CC2018 is not affected).

    Open InDesign CC2019, then run this one-line script:

    app.panels[25].name

    Result: Error: 'Invalid object for this request'.

    Now do this:

    app.panels[25].isValid

    which returns true.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  9. Arrow with start/end in scale

    If I have an line with a start/end and it's in different scale, when use transformation method, the start/end doesn't scale, even with "Adjust Stroke Weight when Scaling" and "Adjust Effects when Scaling" are turned on. See screenshots of before and after procedure.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  10. Inner glow size limited to 144pt

    Setting innerGlow size to larger than 144 pt via script causes an error for invalid value outside an expected range of 0-144. However, the UI allows size up to be over 13 inches. I have not tested all the other effects, but I believe this is the case for inner shadow and feather as well.

    3 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  11. Crash when calling IActionManager::PerformAction() in InDesign SDK Sample

    Steps:
    1. On macOS, build sample plugin "SnapShot.sdk.xcodeproj" which is from Adobe InDesign SDK.
    2. Load the plugin in InDesign.
    3. Create a empty new document.
    4. Open panel "Windows->SnippetRunner[US]"
    5. From snippet name drop down list, select "ManipulateStructureView"
    6. Cick "Go" icon button.
    7. On parameter dialog, select "ChangeStructureViewState(toggle)".
    8. Click OK.
    9. Crash.
    The attachment is the crash log.

    For the same plugin with same operations, the crash only occurs on macOS, but not on Windows.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  Flag idea as inappropriate…  ·  Admin →
  12. 5 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  13. problems with work speed

    I change formats of single letters or total paragraphs in a book. If I do this at a start of a indesign file (70 pages, 270 footnotes, no pictures, only opened part of the book) it lasts up to 40 seconds until I can work further. If I do this further to the end of the document the delay is lessens.
    My Win-10-PC has 16 GB RAM and i7-processor

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  InDesign Server  ·  Flag idea as inappropriate…  ·  Admin →
  14. InDesign crashes when converting a table

    In the attached document, when I (try to) convert the tabbed text to a table, InDesign crashes.

    Steps to reproduce:

    1. Open the document from the attached zip file.
    2. Select the text frame.
    3. Run the following one-line script:

    app.selection[0].parentStory.texts[0].convertToTable ('\t', '\r');

    Expected result: a table.
    Actual result: InDesign crashes.

    Note: the crash does not happen when the tabbed text is converted manually:

    1. Select all the text
    2. Table > Convert Text to Table

    4 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  15. User Interaction Level resets during Data Merge

    Using at the top of the InDesign tell block:
    set user interaction level of script preferences to never interact

    The way I understand user interaction levels, when set to 'never interact', it should suppress all dialog boxes from popping up.

    When AppleScript performs 'merge records', and the merged record contains missing fonts, ONLY SOMETIMES a missing fonts dialog box pops up and breaks the script. One can close this dialog, run the script again, and the dialog doesn't appear. This unpredictability is why I'm logging it as a bug.

    Looking at the JavaScript DOM, the userInteractionLevel is a setting at…

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Apple Script  ·  Flag idea as inappropriate…  ·  Admin →
  16. binding

    인디자인 cc 2019 사용하는 캡쳐 화면 첨부를 올려드립니다.

    이 "바인딩" 빨간 네모 표시가 안 나왔으니, 잘 나왔으면 좋겠어요.

    바인딩 방향 오른쪽에서 왼쪽 쓰기 페이지...

    부탁드립니다.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Apple Script  ·  Flag idea as inappropriate…  ·  Admin →
  17. CC2019: Can't update or relink a link when a document is opened by a script.

    A fault introduced in CC2019: can't update or relink a link when a document is opened by a script.

    Steps to reproduce:

    1. To verify that with an existing open document the problem does not occur:
    a. Start a new InDesign document
    b. Place a graphic on the first page
    c. Run this script:

    app.documents[0].links[0].update();

    No error occurs.

    2. To reproduce the error:
    a. Save the document created in step 1 and close it.
    b. Run this script:

    s = '/d/test/links.indd'; // Use your string
    app.open (File(s));
    app.documents[0].links[0].update();

    Expected result: The links should be updated.
    Actual result: "Error: This file…

    3 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  18. pdfComment -- no way to find relevant text in the document

    There has to be a way to get the relevant text in the document -- or else there's no point to making the pdfComments available

    2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  19. INumberConverter being ignore when exporting PDF

    I am using CC 2017, but it has been an issue for multiple versions.

    I have a custom plugin that implements INumberConverter on kPageNumberingStylesService Boss for a custom numbering format. This works beautifully until I try to export to PDF. If I print to PDF Distiller it works fine, but when I export to PDF it exports with default numbering style.

    This is similar to an old stubborn bug, when exporting book to PDF would not do the numbering correctly. I don't know that it is related, but they both seem to say that the numbering on export is decoupled…

    3 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  20. Preflight for books

    You can preflight books: myBook.preflight()
    But there is no corresponding function to preflight individual documents. Please add the preflight() function to the document object.

    2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
← Previous 1
  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Feedback and Knowledge Base