Performance Tweaks
Hey guys, I'm looking forward to hear about your performance tweaks to your make scripts run faster. Other than disabling the redrawing of the screen application.scriptPreference.enableRedraw = false;...
View ArticleNew CS4 features
At Dave's suggestion, I'm starting a thread for discussing new scriptingfeatures is CS4. I'd divide new features into three categories: 1)improvements/additions to the InDesign DOM, 2) improvements to...
View ArticlePlace grid snippet in original position rather than gun
Hi.As part of a script, I want to place a grid that is saved as a snippet in the master page at the original snippet location. Even though Snippet Import prefs are set to Position at Original Location,...
View ArticleExtracting single pages out of InDesign documents
Is it possible to extract or export single pages from an InDesign document?So far I've done it this way: I remove all the other pages, save to a new document and reopen the original document.Here's my...
View Articleclear pasteboard with alert (yes or no)
Hi All, I am trying to clear pasteboard with yes or no alert, script running without error but not functioningWhat my error, any help ? //Pasteboard Clean confirm("Do you want to Clean PasteBoard?");...
View ArticleScript to select all overflow text frames and fit them to content?
I have a document with several text frames that have overset text, due to replacing a font. I was looking for a script that would: 1. find all the text frames that have overset text2. apply "fit frame...
View Articlebullet on end of the story
I have again a "little" problem. How can I add bullet character on end of the story / end of the selection. As in the newspapers, right-aligned in the last paragraph line. thank you very much.
View ArticleSquare meter info
Is it passable the see the square meters (m2) of a dokument in a easy way? I don't want to manually count hundred of documents...
View ArticleIncrease / decrease the space before / after a table …
Hi all, I have not found any shortcuts which, after you select a table, modify the space before or after. Does anyone have an idea? Otherwise, an early idea for a [JS]? Thank you in advance!
View ArticleCannot handle the request because a modal dialog or alert is active
hi alli try to use indesign product sdk CS5 using com object to open and edit document with asp.netthis error appear to me in this part of my code InDesign.Application indApp =...
View ArticleIncrease / decrease the space before / after an anchored block …
Hi all, I have not found any shortcuts which, after you select an anchored block, modify the space before or after. Does anyone have an idea? Otherwise, an early idea for a [JS]? Thank you in advance!
View ArticleAdjust tracking (character spacing) of selected text
I am looking for a script that will allow me to apply a specific tracking value to selected text in InDesign. I'm not even an amateur in scripting. I found the following script in the referenced...
View Articlealternate row shading in tables
Hi, I am working in financial tables. the tables having alternate row colours. I have applied cell styles to all table body rows. In additionally i need alternate row colors in all tables, in table...
View Article[CS6/JS] Best practices checking whether eventListener already exists or...
Running the following piece of code in a script will register a javascript function named "afterSelectionChanged" to be run as soon as the selection is changed – the second parameter is the function...
View ArticleFinancial table alignment
Hi, I am working in financial tables. i need script for the below requirement. Any one please suggest. For all tables from second column onwards ""Tbody_rightalign" paragraph style. and all parenthesis...
View ArticleBullet style
Dear Friends; I am the beginner in javascript, my request is applied all bullet paras applied paragraph style is "CN": var myDoc = app.documents.item(0);var myPages =...
View ArticleHow do you use JS to open a Folder dialog
If you use this to open a dialog box to select a file: File.openDialog("Select your XML File", "*.xml") The how do you open a dialog to select a folder. I would think it would be something like...
View ArticleJavascript Get the Current Path without %20 and / backslash
Hi, If i trying to get my .indd path, it is giving the path with %20 and / backslash and ":" also missing. How can i get my path with exact format because i need to pass the path as a argument to a bat...
View ArticleFind left column of every table
Hi, Anyone please provide the script for the below requirement. Find Left column (1st Column) of every table and apply the paragraph style for "Tbody_left". Regrds,Velu
View ArticleFind the row contents in CSV File
Hi Forum, Im reading the CSV file, and want to find the content on a Cell, which is is below the content "retail" in a header row, and referring the indesign file name which is present at the last...
View Article