Adobe InDesign: SDK/Scripting Bugs and Features
74 results found
-
Default Composer doesn't change via SDK
If I change the Default Composer via the Preferences Advanced Type dialog then query it in a script using app.textDefaults.composer I can see it has changed. However when I change it via a script it appears to change when I query it again but it is not changed in the prefs dialog and if I create a new document it is not the default composer. This is all with no open documents btw.
2 votes -
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.
- Please provide an official scripting guide for Adobe InDesign.
- 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 -
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 -
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 -
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 -
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 -
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 scriptI'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 -
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 -
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 -
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 -
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 -
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
- Don't see your idea?