Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Browsing all 15932 articles
Browse latest View live

Place assets only on First page

Hi Forum, I m wondering, if can i place my Library assets.item(0) only on first page.  Because the below script places the Library assets, when i click a particular page... Instead, when i run the...

View Article


Image may be NSFW.
Clik here to view.

Setting the property Pattern Length for Dashed/DottedStrokeStyle [JS CS4]

I have attempted to create a custom stroke style. There is a property in the interface called Pattern Length which doesn't seem to have a counterpart in the InDesign CS4 (6.0) Object Model...

View Article


Has anyone tried using a JavaScript External Library with 64bit InDesign?

I have an event listener that calls a JavaScript file. The JS script uses a c++ external library. All works fine with 32 bit InDesign including the new cloud version, but I get an "I/O error" when...

View Article

Auto-flow of images?

Is there a script that will autoamtically place the images that I select on my pages without me having to place one image on each page?

View Article

Javascript for InCopy: Add All Graphics to Assignment: New

Hi,  I try to perform a  InCopy: Add All Graphics to Assignment: New from my javascript. Is anyone know the solution ? Thanks !

View Article


Move unassigned story to an assignment (for InCopy)

I want to add a stroy to a new assignment with javascript.I found out how to create an assignment, and how to make a icml and icma documentHowever it comes in unassigned incopy items, and I can't find...

View Article

[JS] Menu Added via Scripting Moves

I've been able to sucessfully add items to the InDesign menu thanks in part to Marijan Tompa's (tomaxxi) blog post http://indisnip.wordpress.com/2010/08/08/create-customized-menu/ My test code (below)...

View Article

JS ScriptUI CS4: How to create an indeterminate progress bar?

Hi Folks, Does anyone here know if ExtendScript (I'm using the CS4 flavor of ES) can produce an indeterminate (i.e., "barber pole") progress bar using ScriptUI's progressbar control? I've tried a...

View Article


Image may be NSFW.
Clik here to view.

Coloring a Font with a RGB etc. without adding the color to the document...

Is there a way of coloring a font with a RGB, Lab or CMYK color without adding the color to the document swatches.The only way I know is to add a color to the swatches or use one that already exists....

View Article


Place assets only on First page

Hi Forum, I m wondering, if can i place my Library assets.item(0) only on first page.  Because the below script places the Library assets, when i click a particular page... Instead, when i run the...

View Article

[JS] delete swatch without replacing

Hello all,I'm trying to find how to delete color in swatch without replacing with black. When I use this: myDocument.colors.item("test").remove(); then my "test" color is replaced with black. Is there...

View Article

extract paragraph style name with formating

All kindly help me How to extract ParagraphStyle name with formating to Sample.txt: EG: Style Name: "Body"Font = "15"leading = '"18"Aligh = "Left" etc... RegardsHurix Edit by Dave Saunders: Something...

View Article

With CS3, some things have changed

Let's use this topic to record changes that are likely to affect a working script. As I did in the CS2 comparable topic, I'll add an index here in the topic title when the list is long enough (and I...

View Article


Auto-flow of images?

Is there a script that will autoamtically place the images that I select on my pages without me having to place one image on each page?

View Article

exportFile for multiple selection

CS5.5 - Javascript, I would like to know the exportFile method for multiple selection, for example if i have selected 4 rectangles and want to export these four objects as single jpg without grouping...

View Article


Image may be NSFW.
Clik here to view.

Character/Paragraph Style Hilight colors

In May 2010 Marc Autret posted this interesting blog: Show Local Formatting in InDesign CS4/CS5, where he shows how an undocumented feature of InDesign can be put to good use. If you set...

View Article

Convert an image file to Base64 or other string value

Hi,I need toread the contentof an image file(JPEG, PNG,TIFF) andconvert that file toBase64string.Does anyone know ifyou cando these thingson Javascript, in InDesign?Thanks forany helpEDIT: I forgot...

View Article


Change Color of single Character

Hi everyone, I'm new to AppleScript. Been trying to figger out how to write the script I need, but I've beeb trying in vain. I have a InDesign of around 40 pages and I would like to change the color...

View Article

return information about insertion point

Okay, I'm really sorry if this question is either obvious or already been asked. I've scoured the forum, but I can't find the answer. That said, I'm not too experienced with InDesign scripting, so I...

View Article

specify target in URLs for buttons or hyperlink settings

I've been searching for hours on this simple question. How can you specify target="_blank" on a URL? I have an InDesign CS5 document with many hyperlinks in it. Actually they have been formatted as...

View Article
Browsing all 15932 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>