Re: Deeply nested object literal woes
Not sure if anonymus function is the best way to go, but if it works for you, then good luck.
View ArticleScripting Selective XML into a Single Text Frame? (& Some Other Stuff...)
Hi all, I could use some help (using version CS5.5). I want to import (via Javascript) an XML file similar to this: <movieRoot> <dvds> <movie>...
View ArticleRe: Printing to PDF without having to enter the file name
straight form indesign, don't think you can. but if on windows, you can try with this: http://www.autoitscript.com/site/autoit/
View ArticleExport Tagging
Hi Experts I am trying to access the Export details property in Paragaph style. Is there any way to get the information without exporting HTML or CSS. Thanks in advance
View ArticleRe: Export Tagging
In my "Export paragraph style description settings" script I did it like so: // Export tagging - EPUB and HTMLif (appVersion > 6) { if (ps.styleExportTagMaps.length > 0) { if...
View ArticleFind and change hyperlinks using GREP query
Hi All, I am trying to find and replace part of a hyperlink. Below is the code I tried (found and modified. thanks to whoever written this). It is working fine. However, I need to find and change only...
View ArticleRe: Find and change hyperlinks using GREP query
Hi, I have found following code snippet in one of the post (Thanks to Jongware). Can you please help me on how to use this to suite my requirement. // use your standard GREP search & replace...
View ArticleCurrent page on a multipage document
I am almost done with a VBScript that export and attach a jpeg to the email client ready to send for proof. It is working but if I have a multipage document I would like to export the CURRENT PAGE I am...
View ArticleRe: Current page on a multipage document
depends on what you call CURRENT PAGEif it's the page that's current;y on the screen (view) then: Application.activeWindow.activePage or activeSpread http://jongware.mit.edu/idcs5/pc_LayoutWindow.html
View ArticleRe: IDCS6 Mac Interactive Button creation with URL
Well, now, that's just the thing, Hans. In the scripting guide, using "bounds" as an example, I may instantiate an object like this: var MyObject = new somethingOrTheOther(10,10,20,20); or I may do it...
View ArticleRe: [JS CS6] modifying Peter's RunScript script
Thanks Peter, Now I can see the scripts I'm interested in, but still have the problem of seeing the whole path in the dialog, and it's pretty long, and the scripts don't actually work once selected and...
View ArticleRe: Printing to PDF without having to enter the file name
Thanks I never knew that existed for windows
View ArticleRe: IDCS6 Mac Interactive Button creation with URL
@John – the thing is: you can add* and remove** gotoURLbehaviors (and there could be several in one single button!), but if you want to manipulate one (readonly!) you will fail. So you first have to...
View ArticleUpdating hyperlink using GREP adding extra back slash in the replacement text
Hi All, I am trying the following code to update the existing URLs to match with the new publication number. The presence of "4AA3-1234ENW" has to be updated with "4AA3-1234ENN" (the last character...
View ArticleRe: columns.redistribute
So you must have a table with only one column in it in the top row.Anyway this should deal with MOST cases and only does a very little bit of write iterating so should still be very quick // Script by...
View ArticleHow to write in jsx "Not equal"?
i need to check, if all bleeds have the same value:with (app.activeDocument.documentPreferences){if (documentBleedBottomOffset==documentBleedTopOffset==documentBleedInsi...
View ArticleRe: columns.redistribute
@Trevor – I still would like "shaking the tree" with my method.That is working in every case: //Redistribute all tables without redistribute() method: var myTables =...
View Article