Skip to content

Adobe InDesign: SDK/Scripting Bugs and Features

3 results found

  1. 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…

    12 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)
  2. 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)
  3. A new TextFrame InsertionPoints.count changes from 1 to zero when linked to a previous frame and the program effectively crashes

    Replaces a previous post - this is written and tested in VB Script:

    Set myInDesign = CreateObject("InDesign.Application.2020")
    Set myDocument = myInDesign.Documents.Add
    Set myPage = myDocument.Pages.Item(1)
    Set myTextFrameA = myPage.TextFrames.Add
    myTextFrameA.geometricBounds = Array(72, 72, 144, 144)
    Rem Add a page.
    Set myNewPage = myDocument.Pages.Add
    Rem Create another text frame on the new page.
    Set myTextFrameB = myNewPage.TextFrames.Add
    myTextFrameB.geometricBounds = Array(72, 72, 144, 144)
    mycount = myTextFrameB.InsertionPoints.Count
    msgbox(mycount)
    myTextFrameA.NextTextFrame = myTextFrameB
    mycount = myTextFrameB.InsertionPoints.Count
    msgbox(mycount)
    myTextFrameB.InsertionPoints.FirstItem.Contents = "This is Bob"
    Rem "Program Crashes"

    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  ·  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)
  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base