Adobe InDesign: SDK/Scripting Bugs and Features
114 results found
-
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 -
publish online services
yesterday, i was able to publish online the document in indesgin. Today it says i am not able to publish online the document as the server is not available.
I tried diffrebt ways can you help?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
-
interactive form
Despite determining the activation sequence, the cursor with the tabulator does not jump to the correct field
1 vote -
The scale X percentage option shold have short key so that I don´t have to write 100% manually in the meny while working in prepress.
The scale X percentage option shold have short key so that I don´t have to write 100% manually in the meny while working in prepress. When I update links in my prepress documents the scale down to 91% and that´s really frustrating that I can´t just mark them and use a short key to resize them to 100%. Especially if you have updated for example 50 links.
1 vote -
Scripted iterative document open/close fails to close files
Note: my sample code is jsx, but the problem may not be limited to jsx.
We have multiple products that sometimes show a problem with document.close() not actually closing the file, leading to incorrect functioning, memory bloat, slowdowns, and we believe some crashes. I provide a test script that takes a currently open document and iteratively copies it, opens the copy, then closes the copy -- after the loop is finished, the copy files are removed.
Important: If run from the ESTK or Scripts Panel, the script works as expected -- no problems. If run from a custom menu (setup…
1 vote -
Enable XML export in Word file format so tagging and attributes are preserved.
InDesign cannot currently export an XML structured file in Word file format, either because Word does not recognize the tags and attributes or because those elements are not within the document content. Please make an export possible so that XML structured content can be exported in Word file format and then reimported into InDesign.
1 vote -
inDesign crash with documents.loadMasters()
i have try to load master page by script (i post a small script test) but indesign crash... if i want copy masterspread from doc1 to doc 2 i must use "duplicate"...
target indesign
// create two document
var doc1 = app.documents.add()
var doc2 = app.documents.add()// add new master spread and set it
var master = doc1.masterSpreads.add()
master.namePrefix = "XX"// save document on disk and get file
doc1.save()
var doc1File = doc1.filePath// close
doc1.close()// load master spreads of doc1 on doc 2
doc2.loadMasters(doc1File)1 vote -
Make ImageCatalog Script an integral contact sheet function in InDesign
Good morning. There is a sample script in InDesign that I LOVE! It makes contact sheets much quicker (and using far less memory) than Photoshop or Bridge. If you have a hundred images and want to make a contact page, this script is the way to go. Much more efficient. The Script is the ImageCatalog under JavaScript samples in the Scripts window. This has always been available, and always worked very well until the last couple of updates. Now when I run it, it just sits there. If I try saving the images again (save a copy) or saving them…
1 vote -
[CS6 to 2020 15.0.1.209] documentPreferences.snippetImportUsesOriginalLocation | values true and false do the opposite what they should do
Hi,
if I set value for snippetImportUsesOriginalLocation of documentPreferences to true, InDesign will place a snippet file with spread.place( snippetFile ) always at the current zero point [0,0].Wheras I set the value to false the snippet will be placed at its original position.
It should be exactly the other way.
Currently value false will use the original position and value true will chose the current zero point as defined with app.documents[0].zeroPoint .
Tested with German InDesign versions:
CS6 8.1.0
CC 2014 10.2.
2020 v. 15.0.1.209
All on WIndows 10.In the discussion linked to below Gerald Singelmann can see…
1 vote -
nextItem() doesn't work
Instructions:
- Load Script4.txt into ExtendScript CC
- Open ID CC 2019
- Connect ExtendScript CC to ID CC 2019
- Run the script
- Observe that line 8 gives an "Object is invalid" error. That's because the nextItem() on line 6 didn't work.
To see this more clearly:
- Load Script4.txt into ExtendScript CC
- Open ID CC 2019
- Connect ExtendScript CC to ID CC 2019
- Comment line 6 and uncomment line 7.
- Run the script
- The script runs fine. It prints out "2", the name of the second page.
In other words, nextItem() is broken. The work around (in this case) is to use an…
1 voteWe’re reviewing this issue.
—
Adobe InDesign team -
Script failing ... strangely
Instructions:
- Load Script.txt into ExtendScript CC
- Open ID CC 2019
- Connect ExtendScript CC to ID CC 2019
- Run the script
- Observe that the script gives an error on line 6 (Invalid object for this request.) This is because TextFrame281 and TextFrame284 are the same object. They should be different objects.
To see this more clearly:
- Load script.txt into ExtendScript CC
- Open ID CC 2019
- Connect ExtendScript CC to ID CC 2019
- Uncomment line 4 (var temp = TextFrame_281.id)
- Run the script
- The script runs fine. If you look in the document that has been created, the two text…
1 vote -
1 vote
- Don't see your idea?