CC2014 Changing unassigned to TEXT_TYPE bug?
If I make a document with one unassigned box and change it to text_type I can add contents to the textframe. app.documents[0].pages[0].allPageItems[0].contentType = ContentType.TEXT_TYPE;...
View Article[JS] CS6 .duplicate to top-left of varying size doc
Hey guys, I have a script that prompts the user for a code, opens a doc matching that code from a folder of templates, duplicates those contents on the currently already open document (created by...
View ArticleWith CS2, some things have changed
I have not located a place where changes in scripting between CS and CS2 are reported, so I thought I'd start a topic here with some of the things I know about.This is about changes to the object model...
View ArticleJavaScript: changes from CS5.5 to CS6
RemovedClassesFolioBindingDirectionOptions (enum)FolioOrientationOptions (enum)SmoothScrollingOptions (enum)SpaceUnitType (enum)VisibilityInPdf...
View ArticleGetting data from SQL database
Hi I am stil trying to get some basic information stored in a database table on my SQL Server. I can do this by embedding an Applescript do carry out the shell command 'curl' as below:...
View ArticleCaption
I use Indesign CS5 for Windows XP So I need 2 scrpts similar a Caption. 1 - Script with Caption with this setup> Clipboard text (instead metadata) if it´s possible> Position and Style:...
View ArticleLabel Script
This script is for Adobe Indesign CS5 Windows. I´m trying change this script to acept this setup: Dispensing this dialog box and apply just if there is some selected image frame. (I think if there is...
View ArticleExtendScript cc Intellisense
Hi,I am new in ExtendScript CC tool kit and the intellisense option is not working... any one can help?Thank you
View ArticleNeed grep expression to change index page numbers
I built an Index using Type&Tables>Index however there was a lot of additional work that had to be done manually after it was built, so I do not want to use the Replace command. Is there a grep...
View ArticleSpecial characters
Hi, Anyone, Please provide the script for the below requirement. My word document is in coding format. (see below);uumlaut ü;eacute é;egrave è;h1 H1;h2...
View ArticleInDesign CC Script: select or list all misspelled words
I'm trying to list and select, via javascript, all my misspeled words in indesign CC. Have someone know how to do?First, i've tried to use the menu action...
View ArticleDealing with merged cells in a table
HelloI've been using tables pretty often in InDesign and I've constantly run into the same problem with scripting - dealing with merged cellsIn many rows, I have a few cells that are merged...
View Articlematch content in multiple InDesign files with single file.
Hi All, I have some chapters and 1 back matter file. In chapters there are some keywords with applied character style "KEY". In back matter file there are all the keywords with its definition.I need...
View ArticleAutomatic detection of text language
Is there a script that is able to automatically recognize the language of the text (quotes, phrases, sentences, parts of the text, the sigle words) using the available dictionaries and automatically...
View ArticleHow to delete xml content without deleting the content of the object?
Hey, with the following code I am marking up a page item and deleting it's xml content: text_value = text_area.xmlElements.add('text', current)text_value.contents = ''; current is the current...
View ArticleExport selectd text as a jpeg
Please review my code, i am not able to get all the indesign files information as per my code, i can export only first two files, then the loop repeatedly process the second file only,not getting 3rd...
View Article[JS CS3] Making the #includepath work
Hello, I have a script that will be used on both PCs and Macs. As the script refers to many other scripts I need a path to them. However there is something wrong with the following line: #includepath...
View ArticleThis script can you help me
I want to apply a character style to each letter separatelyI wrote a script to do this, but not the way I want write "a/b" three letters in the same style applies var myW = new Window ("dialog",...
View ArticleEPUB/HTML Exportoptions scriptable?
Hey, with InDesign CS5.5 we've got the possibility to control the rasterize and position options for EPUB and XHTML export. (Object -> Object Export Options). Is there any way to acces these...
View ArticleHuge assignment files
Hi, I have created assignment by script and move stories to it. But the assignment, after move stories, becomes huge, with more than 200Mb.The native assignment in indesign, likes make a compression...
View Article