Re: How to select text of child element of graphic...
hi, sample 1 works good,sample 2 it doesnt work . I am wants to select text of alt-text xml element .
View ArticleRe: How to select text of child element of graphic...
hi andreas, inline-graphic xml elements have only one child xml element alt-text . in this case , i am write code as, allImageParaXmlElements =...
View ArticleRe: How to select text of child element of graphic...
see this image Andreas , this is the xml elements , i am wants to traverse & select text of alt-text xml elements !!!!!!!!!!!!!!
View ArticleRe: InDesign library: How is this possible?
hi, by using apple script tell application "Adobe InDesign CS5"set lib to librariesif count of lib > 0--already openelse --not open end if end tell
View ArticleCopy Files alongwith Folders
Hi Forum! I have this bit of script to copy files which resides inside the Folder. My request to forum, is to get help, to copy all the contents inside the folder... contents inside the folder, can be...
View ArticleRe: Copy Files alongwith Folders
Well, I have this too. But the problem is I can't able to do copy.. var myObject = new ActiveXObject("Scripting.FileSystemObject"); var myFolder = myObject.GetFolder("/Users/admin/Desktop/LZW/For...
View ArticleExport style-sheet
I am looking for a script that can export all the Character/paragraph styles in a document to a new document.That document should have the styled name of the styles, with the style description next to...
View ArticleRe: Has anyone tried using a JavaScript External Library with 64bit InDesign?
just a shot in the dark here, but doesn't the library need to be compiled for x64?
View ArticleXPath and Predicates limits : please help me !
Hi Please take look to these examples script execute from Windows InDesign CS4 : Short multiple XPath predicates var dataXML = new...
View ArticleRe: [CC JS] Changing the Color Theme in a script
Thanks Peter. I do try to look before posting, and i saw the preferences object, and didn't find it there. Didn't know it was the generalPreferences. Oh, if anyone else is interested, it is a value...
View ArticleRe: Export style-sheet
I have found a script that seems to do the trick:http://indesignsecrets.com/print-out-style-sheet-specs.php
View ArticleRe: [CC JS] Changing the Color Theme in a script
@Roy – all documented in Marc Autret's: http://www.indiscripts.com/post/2013/06/so-what-s-new-in-indesign-cc-s cripting-dom see details at page 7 (at the top) of the PDF. Uwe
View ArticleDocument.save() returns error "Failed to find any class definition for...
Hi all, I am writing extensions in the InDesign 5 development environment (still) - Extension SDK 1.5, Flex 4.0, etc., using ActionScript. The extension works fine on InDesign 5 and 5.5. However when...
View ArticleRe: Copy Files alongwith Folders
HI Forum, Does my request make sense! Please forgive me if not. Because I'm not interestingly trying with the actual java code and not even i'm familiar with too. Will be much appreciated, to get it...
View ArticleHow do I replace quotation marks with double angle quotation marks, still...
Hi, Does anyone know how to replace quotation marks with double angle quotation marks, still keeping the word in the middle? For example: I search for a word with quotation marks by typing in:...
View ArticleRe: How do I replace quotation marks with double angle quotation marks, still...
It's much simpler: find " and replace with " (make sure that 'Use typographer's quotes' is enabled in the preferences). Peter
View ArticleRe: EPUB - not able to add cover images
I'm using the below code to add the cover image: var myDoc = app.activeDocument;var myDocName = myDoc.name;myDocName = myDocName.replace(".indd",".epub");myDoc.epubExportPreferences.epubCover =...
View ArticleRe: Has anyone tried using a JavaScript External Library with 64bit InDesign?
Hi Vamitul, Thanks for replying. Since InDesign CC is installed with both 32 and 64 bit versions, are you saying I would need to do the same? I don't suppose you know how to compile c++ in x64? It...
View ArticleFind selected paragraph style in the paragraph style panel
Hi,Noob here. I just got into indesign scripting. I'm trying to a script that will add a few GREP styles to the currently selected paragraph style in the Paragraph Styles panel.My question is how do i...
View Article