Adobe InDesign: SDK/Scripting Bugs and Features
124 results found
-
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 -
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 -
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/7416881Thanks, Tobias
1 vote -
Upgrade XSLT enginge
Please consider upgrading the underlying XSLT 1.0 engine to at least XSLT 2.0 (if not XSLT 3.0)! It’s a pain to be forced to transform before going into InDesign or to write clumsy (for nowadays) XSLT 1.0 code.
Thanks, Tobias
1 vote -
Add all new JavaScript functions of ECMAscript 6
Please consider an upgrade of the underlaying JS engine to a newer standard. There are many, many functionality we are missing, e.g.
array.indexOf()
,array.foreach()
, default parameter handling in functions ... the list feels endless.
Thanks, Tobias1 vote -
Tool for sustainable Design
Hello dear Adobe team,
At the moment there is a lot of talk about environmental problems and sustainability. Responsible use is particularly important when it comes to the use of finite and regenerative resources.
The AGD has developed a charter for sustainability for this purpose. "Designers are largely responsible for
how our world is shaped. Design shapes, design is a role model and creates
new awareness. Design consumes resources - sometimes more,
sometimes less. The sustainable use of natural resources,
with the environment and with the people who have remained in this world for generations
should be able to live,…1 vote -
1 vote
-
Indesign has stopped working / turns off when turned on / while document is open / after restoration turns off again
Hello, I am writing to you asking for help. Since yesterday, adobe indesign has stopped working properly. After creating a new document / or opening a file that I was working on, the program crashes. It gives you a file rollback and shuts down again. Once we managed to turn on the program for a moment, but it was enough to stick to paragraph styles and move the frame, the program turns off immediately. I would ask for info on this matter. Tried installing previous versions, still the same problem; I tried uninstalling and reinstalling the program and the situation…
1 vote -
Handle SpecialCharacters with unicode equivalents as normal text
SpecialCharacters are certainly necessary in places where there is no unicode equivalent (such as AUTOPAGENUMBER) but for many characters with unicode equivalents (BULLETCHARACTER, COPYRIGHTSYMBOL), it complicates string manipulation with no benefit (that I can see).
Example:
mySelectionContents = app.selection[0].contents;
alert("The current selection is when added to a string is " + mySelectionContents);
alert("The current selection is when coerced to a string is " + String(mySelectionContents));If you select a single bullet character, and force the specialCharacter to a string by adding it to the alert string you get "1396862068" or "BULLET_CHARACTER" if you explicitly convert to…
1 vote -
Bug when creating a form check box
Creating a check box anchored in a text frame systematically ends with a crash in ID v16.2.1.
javascript:
app.select( app.selection[0].paragraphs[0].insertionPoints[-2] );
app.selection[0].checkBoxes.add();applescript:
set thePoint to insertion point -2 of paragraph 1 of selection
tell thePoint to make check box1 vote -
InDesign Scripting bug? Master Pageitems of specific Layer as Collection
I want to see all 'master' page items of all master spreads on a specific layer using code like this:
app.activeDocument.layers.itemByName('existLayerName').pageItems.everyItem().getElements();
Even such a layer contains 'master' page items, this code always returns an empty array!
1 vote -
1 vote
-
Events: 'afterSelectionAttributeChanged' (LayoutWindow)
The event 'afterSelectionAttributeChanged' (LayoutWindow) has the "Event" class, but logically its class should be "MutationEvent", since it is not clear which attribute of the object has been changed...
The mutation event in most classes that have an addEventListener method does not work.
1 vote -
Update Indesign script to support ES6
Update Indesign to support modern ES6.
1 vote -
fos az egesz
szar
1 vote -
BUG - Scripting: multiple paragraph styles for multiple paragraphs in one text box not working correctly
Paragraph styles are not being applied correctly when setting more than two paragraph styles for more than one paragraph in a text box.
For three or more paragraphs, paragraph n is set to paragraph style n, and paragraphs 1 through n-1 are set to paragraph style n-1. The expected behaviour would be that paragraph 1 is set to paragraph style 1, paragraph 2 is set to paragraph style 2, paragraph 3 is set to paragraph style 3, ..., paragraph n is set to paragraph style n.
1 vote -
InDesign Server + Catalina = heavy permission problems
--- Update: PROBLEM SOLVED. See comment below ---
We have run into to serious problems with running InDesign Server (IDS) on Mac OS 10.5.x Catalina: The problems are somehow related to file permissions and will only show when the IDS instances are started by launch agents (or launch deamons).
This problem manifests itself in several ways we have encountered – using IDS CC 2020 as well as IDS 2019:
- Documents can only be opened from a limited number of locations – actually only one location as far as we know, the
/private/tmp/
directory on the local machine. When one of…
1 vote - Documents can only be opened from a limited number of locations – actually only one location as far as we know, the
-
Catalina AppleScript seems to be broken
Tried a few samples that came with ID -- they all stop with errors
1 vote -
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 -
1 vote
- Don't see your idea?