Adobe InDesign: SDK/Scripting Bugs and Features
5 results found
-
Bug in IXMLOutStream.h header file
InDesign2020SDK/source/public/interfaces/xmedia/IXMLOutStream.h:499
void WriteName(const UTF16TextChar* name, bool16 newLine = kFalse) { this->WriteName(name, newLine); }
This function calls itself. It leads to a stack overflow on Windows but the code analyzer in Xcode catches it and reports an error during compilation. It can be changed to:
void WriteName(const UTF16TextChar* name, bool16 newLine = kFalse) { this->WriteName(WideString(name), newLine); }
and it will work (it calls the previous function in the file instead).
4 votesThe fix for this issue is now available in the latest versions of InDesign – version 16.0 and above.
Please update to this version to get the fix.—
Adobe InDesign team -
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.
-
Table footnotes not indexed correctly
Table footnotes are not indexed correctly in two ways: to the script engine they appear in the wrong order and table footnotes have no .index property.
The attached document has one text frame with three footnotes in the main text and one table with one footnote. The table footnote is footnote 3. To reproduce the problem, do this:
- Open the document.
- Run this script against the document (in the ESTK):
fnotes = app.documents[0].stories[0].footnotes
for (i = 0; i < fnotes.length; i++) {
$.writeln (fnotes[i].contents)
}- Expected output:
. Note 1.
. Note 2.
. Note table.
. Note 4.- Actual output:
. Note 1.
. Note…16 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
-
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
-
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
- Don't see your idea?