Adobe InDesign: SDK/Scripting Bugs and Features
118 results found
-
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 -
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 -
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
3 votes -
Indesign crash with findGrep()
findGrep() causes a crash with the following terms:
"w?"
“\w?”
“h?”
“w?i?”
...e.g.:
app.findGrepPreferences = NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
app.findGrepPreferences.findWhat = "w?";
var _result = app.activeDocument.findGrep();4 votesHello All,
Thank you for reporting the issue to us.
We have fixed the issue in the latest version of InDesign, Id 14.0.3Please upgrade your InDesign application to the latest version to try out the fix.
If you are unable to see the update yet, go to Creative Cloud desktop application, open the menu (three dots) from the top-right corner and click on ‘Check For App Updates’.
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 14.0.3
https://helpx.adobe.com/indesign/kb/fixed-issues.html -
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.3 votes -
Add MeasurementEditboxes to ScriptUI
I'd love to see MeasurementEditboxes to ScriptUI. We had them previously, and I don't know why they were never added to ScriptUI.
You can read more background here https://forums.adobe.com/thread/1007448
7 votes -
Epub toc links are not created when a document's toc is created by a script
To create a (navigable) Epub TOC you check the 'Make text anchor in source paragraph' checkbox. The links are created correctly when the TOC is created manually, but when the TOC is created by a script, the links are not created.
To confirm, please open the attached document and run this very simple script:
app.documents[0].createTOC (app.documents[0].tocStyles.item('Epub'), true);
The used TOC style ('Epub') has the 'Make text anchor in source paragraph' box checked.
Then export the document to reflowable Epub. In the Export dialog's General tab, select 'Multilevel (TOC Style)' at 'Navigation TOC' and at 'TOC Style, select the Epub style.…
5 votes -
binding
인디자인 cc 2019 사용하는 캡쳐 화면 첨부를 올려드립니다.
이 "바인딩" 빨간 네모 표시가 안 나왔으니, 잘 나왔으면 좋겠어요.
바인딩 방향 오른쪽에서 왼쪽 쓰기 페이지...
부탁드립니다.
1 vote -
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 -
Please expose a PDF's page count to scripting
I posted this one in the general feature requests section, should have done that here in scripting. Here's the link:
It got quite a few votes over there. . .
P.
5 votes -
ExtendScript access to animation path object
Inside of the animationSettings, there's no way to access or manipulate the motion path as a path object.
It would be useful to have access to that path and be able to run path functions on it (add/remove points, simplify, etc).
3 votes -
EvaluateXPath is not working with Namespace, Internet surfing is also not working on this task. For past 5years we searching for this.
EvaluateXPath is not working with Namespace, Internet surfing is also not working on this task. For past 5years we searching for this solution. kindly check and provide solution hope you are revisiting your old path.
3 votes -
ScriptUI Centering Breaks when switching monitor
If you switch monitors (i.e., unplug your laptop from a large monitor and go to present at a conference), and don't restart InDesign, scriptUI doesn't update the center position of the monitor.
It causes scriptUI windows to appear out of place.
3 votes -
Indesign crash when the graphics inside the table
I want to check the table have any track changes. But I have this case make the Indesign crash if the graphics inside the table using following script.
var abc = app.activeDocument.stories[0].tables[0].changes.length;
1 vote -
XSLX Import partially fails on Windows
The problem is while manual import of XSLX files is no worries, it partially fails when the placement is called from script on Windows.
The main issue is that sheetName property seems to be ignored leading to the first sheet always being placed no matter which sheetName has been set.
The expected behaviour is that the sheetName set in app.excelImportPreferences.sheetname is correctly placed.
No problem with old xls format or with xlsx on mac.6 votesThanks for reporting the issue. We are reviewing it
-InDesign Team
-
Hanging & Overset Issue
Hanging & Overset is the Main Issue, still we cannot find the root cause why this is appearing in all the time. Please check the feasibility to avoid the Overset issues occurred for Long Text without having space or Long Tables and Mostly Hanging issues occurred in Keep Options On or Off. Please check the feasibility and do the needful.
3 votes -
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!
0 votes -
Crash when adding a "checkbox" into a "cell" of a table
I'm trying to add a Checkbox into a cell of a table with JavaScript.
When executing the code InDesign crashes.With my Script I'm looking for certain text in a table, delete it from the cell and then want to add a checkbox instead. So my code is looking something like this:
var found = app.documents[0].findGrep();
found[0].parent.contents = "";
var myBox = found[0].checkBoxes.add();0 votes
- Don't see your idea?