Adobe InDesign: SDK/Scripting Bugs and Features
118 results found
-
Where to find InDesign document links API reference?
Where do I find the API reference for document links? (As show in the Links tab.) I've found scripting guides and various bits of documentation, but I can't find a complete object model reference.
Newcomer to InDesign scripting. All I need is to dump the full path of every linked image to a text file. I've found a script online which does this, but it only outputs each link's 'name'. A fuller version of the same script dumps out the size and file type as well.
I'd like to modify this script to dump out 'path', but 'path' doesn't seem…
1 vote -
IDML resources
On https://www.adobe.com/devnet/indesign/documentation.html site links are not working at the IDML section. Please fix it!
3 votesThe links are working fine for me.
Can you recheck once at your end?Thanks
-
The Script FindChangeByList.jsx not working CC2019
Dont Working script
1 vote -
Allow keyboard shortcuts to be assigned by script
Add the ability to assign keyboard shortcuts do built-in InDesign menu actions or panel menus by javascript.
16 votes -
Separate the indesign scripting forum from the indesign community support forum
With the relaunch of Adobe's community support forums, the indesign scripting forum was merged with the general indesign forum. Please separate the two so users can find the most relevant content.
45 votesHi,
1. The majority of InDesign Scripting threads were merged and archived at first.
2. After a month or so, InDesign Scripting re-appeared as its own topic in the new forums.
3. David K. started un-archiving older threads last week, a few at a time, very slowly and by hand, because of odd server-side limitations.
4. There is no “Direct Link” to the Scripting Topic at this time, but this ought to be fixed with the current sprint from the forums team. The internal bug number is: ALFD-1530While we wait for ALFD-1530, there is a backdoor way to find direct links to topics. You can follow a topic then look at your follows… or just use these links:
• InDesign Scripting: https://community.adobe.com/t5/forums/filteredbylabelpage/board-id/indesign/label-name/scripting
• InDesign SDK: https://community.adobe.com/t5/forums/filteredbylabelpage/board-id/indesign/label-name/sdk
• InDesign Server Developers: https://community.adobe.com/t5/forums/filteredbylabelpage/board-id/indesign/label-name/server%20developersThanks
-
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
8 votes -
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,…8 votesThanks for reporting the issue. We are reviewing it
-InDesign Team
-
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 -
Запись операций
Возможно создать вкладку с записью операций, чтобы принцип работы был реализован, как в Photoshop.
А также панель с историей работы в файле.
Скрипт работы с формулами непосредственно в самой программе InDesign.1 vote -
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 -
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 offset8 votesThanks for reporting
We are reviewing the issue-InDesign Team
-
How to turnoff Type contextual controls in Indesign CC 2018?
app.typeContextualUiPrefs.showFractionsUi = false;
don`t work3 votes -
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.
3 votesThanks for reporting the issue. We are reviewing it
-InDesign Team
-
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 -
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 -
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 -
ScriptUI: Opening Dialog while dialog is open breaks InDesign
I posted that bug in gerneral Bugs section. Belongs to Scripting though:
https://indesign.uservoice.com/forums/601180-adobe-indesign-bugs/suggestions/37298593-scriptui-opening-dialog-while-dialog-is-open-brea5 votesHello All,
Thank you for reporting the issue to us.
We have fixed the issue in the 14.0.3 version of InDesignPlease upgrade your InDesign application to the latest version to try out the fix. The latest version of InDesign is 15.0
If you face any problems with the new update, do let us know in the comments.
-
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-processor1 vote -
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:
- Open the document from the attached zip file.
- Select the text frame.
- 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:
- Select all the text
- Table > Convert Text to Table
4 votesHello All,
Thank you for reporting the issue to us.
We have fixed the issue in the latest version of InDesign, Id 15.0Please upgrade your InDesign application to the latest version to try out the fix.
If you face any problems with the new update, do let us know in the comments.
You may also follow the below given link for the list of all fixed issues in Id 15.0
https://helpx.adobe.com/indesign/kb/fixed-issues.html-InDesign Team
-
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 interactThe 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…
2 votes
- Don't see your idea?