eventListener. Copy/Paste detection. POSIBLE???
It's posible a custom eventListener to detect copy and paste. myDocument.eventListeners.add("beforePaste", myBeforePasteFunction);
View ArticleDeleting a palette form a Session Targetengine
Hi all, Does anyone know how to delete a palette from a sessions memory.I have a palette which after it closes I want that it should remove itself from the session's memory.What would I do to the...
View Articleapplescript - path to file
Hi there, I was making a simple applescript... but I'm a Windows user, and I'm using a Mac environment to code some stuff to a friend and I probably am stepping onto some minor details from OSX. Here's...
View ArticleColumn width in tables
Hi, Anyone of you please update the script for the below requirement. var doc = app.activeDocument, w = doc.documentPreferences.pageWidth; sel = doc.selection[0]; if(sel instanceof Table)...
View ArticleExtendables: a framework for Adobe ExtendScript
Howdy folks, New here, but I come bearing gifts. I've just open-sourced Extendables, a small framework that simplifies ExtendScript coding. Check it out at http://extendables.org and the documentation...
View Articlebatch-find-and-replace.jsx
Hi there, I wrote a batch-processing script for find change queries and thought I share it with you. You can get it over here You can process GREP, TEXT, GLYPH and OBJECT searches. PurpouseWhile...
View ArticleHow to reference the object "A" to make new objectstyle?
How to reference the object "A" to make new objectstyle? (By script)
View ArticleNeed Notification for attaching the handler On Closing of the HTML Extension...
Need Notification for attaching the handler On Closing of the HTML Extension in Indesign CC 2014 Hi,I need to process a couple of tasks after clicking on cross button(on top right corner of HTML...
View Articleunable to get endHorizontalOffset property of a paragraph
Hi, In a script when cycling through paragraphs, I get a "The property is not applicable in the current state" when trying to alert(paragraph.endHorizontalOffset);alert(paragraph.endBaseline); All the...
View ArticleSee a bookmark with a script
I have a script that adds XML tags and I want to be able to know whether the paragraph has a bookmark at the start of it. I'm working in Windows with VBA and if I get the AscW (the Unicode character...
View ArticleHow to add a progress bar into a function which called itself recursively
How to add a progress bar into a function which called itself recursively
View ArticleRemove spaces from the empty cells
Hi, In most of tables there was an empty cells. In this cells there was white spaces and non breaking spaces are occurs. I need to delete all these spaces for all tables. Can i have any script....
View ArticleApplying [None] character style
I have a script that finds text with a certain character style, cuts that text from the main story and anchors it in a frame that sits in the margin. Everything works fine except that I'd like to have...
View ArticleWhich .dll contains the Splash Screen?
Hey gang, Do any of you know which .dll file within Adobe InDesign CS6 contains the startup splash png image file? Best, Mike Witherell, ACE
View ArticleChange the attribute "src" to "href" before importing an XML
I need to change the attribute "src" to "href" (<img scr="....">) before importing an XML document. I think you could do with XSLT, so you can add a script to import XML documents. But I do not...
View Article[JS] Help Locating TextCount.js
Hi Guys,I am trying locate TextCount.jsIt google says It should be in the Goodies folder of the instal cd.I've looked in my CS Package without luck, also CS2 and CS3Would anyone know where it is?Or be...
View ArticleExisting Applescripts CS6/CC wont compile
I have some applescripts that i've been using in Indd that wont compile anymore.I've been using these scripts for years now, but now need to make minor edits.I can run the scripts and they work ok, but...
View ArticleMatch pageItemX from array1 with pageItemX from array2?
Cheers,I've got a spread with one page. Two page objects (a polygon and an rectangle) on the page, and one rectangle object outside the page. I'm trying to find the object not associated with the page,...
View ArticleImage to 90 degree rotate
I need to rotate the grouped (image with caption) how to do the same in indesign script Please help me
View ArticleHOW TO: set anchoredObjectSettings for .palce() object?
Hi, I'm currently working on interesting script for GREP placing, and I'm wondering how I can set anchoredObjectSettings for .palce() object? for(i=0; i < found.length; i++) { foundElem = new...
View Article