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

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


Image may be NSFW.
Clik here to view.

Find Change all text not including table text

I want to change the date format to (1 December 2009) in activeDocument but without table text, but seem errorbut if I change myP = app.documents.item(0); run through activeDocument, it can change all...

View Article


combine two arrays

Hi All, 1. I want to combine two arrays using for loop.  2. Remove duplication Combine myParray and myCarray. //~ var myFinal = myParray.concat(myCarray) //~ alert("myFinal: " + myFinal)  var myDoc =...

View Article

InDesign automation using watch folder

Hi InDesign experts, Can we use InDesign desktop version (CS5) for a remote batch processing work without any manual intervention? For example, a script automatically picksup the input file and create...

View Article

Extracting 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 Article


More documents to change

Hi All, //This below coding is used to find specified paragraphstyle and change its fontsize, but I need to do change this request at more indesign files. And also advice which ways could we find? var...

View Article

"Lorem ipsum"-izer script to make your documents make less sense

I made some newspaper mock-ups and needed to change the text of existing pages into lorem-ipsum nonsense, while keeping the formatting and amount of text the same. So I made this scripts. It will...

View Article

Select table using script

Hi, The below line selected all the tables in the document. I need to select a first table and then next table etc... var myTable = app.activeDocument.tables.everyItem().getElements(); Anyone help me?...

View Article


Image may be NSFW.
Clik here to view.

Looking for someone to script a Day Planner to a specific size and style.

Hi,Looking for someone to script a year long Day Planner in Indesign CC. I've tried one or two scripts available out there but none seem to be able to accomplish what I need.I would envisage the...

View Article


Image may be NSFW.
Clik here to view.

Gerp Styles in CS4

in my ID CS4.. when i try to make a "grep style".. every option are grayed out, not available! Any Advice/help? 

View Article

Sharing Knowledge

Hi All, Use below function for avoid Unique or duplicate in arrays:  myTextFile2.write( "Ligatures Missing\t" + unique(myParaPageArray) + "\n") function unique(myPs) {     var newArray = new Array();...

View Article

JS: How to remove duplicate items from an Array?

JS: How to remove duplicate items from an Array?I guess there will be a simple way ...

View Article

Exporting pdf from book

I quite new in Java scripting and I'm working (or studing) to export pdf from book through a script.I want to save the pdf in the same paths and with the same name  of the books itself... is it...

View Article


Type of window for progress bars?

What type of window (window/palette/dialog etc) is best for progress bars? I´m using window now, but they can sometimes by accident get hidden behind the document. I dont think dialog works, since i do...

View Article

How to add para styles in mychange

Hi All, In the below coding is lots of find and change. Now I need to mychange one more additional change with S2, i.e. applied one of the paragraph style. Please advice and see below my coding.    var...

View Article


Find font, if nothing find then no need to put char style

Hi All, In the below coding is to find Italic and apply char style, if there is no char style then add new char style, But in my code doing if there is no Italic created new char style, but I need if...

View Article

Save as existing file to add few letters

Hi All, This below coding is open indesign file and flow word file then save as in the same name. But now I need to add "_Flowed" with the before .indd extension. See 16th line. But if I run this...

View Article


Socket

Hi, I use extendables library for checking if a token has expired andit works.  #include 'extendables/extendables.jsx' var http = require('http'); var url =...

View Article

Short cut coding

Hi All, The below coding is to create margins for master spreads. If any shortcut coding for this. See my coding below var mydoc = app.activeDocument;...

View Article

Placing library item into page

This script for placing library item into page and applying object style to the item. In line 16, script shows that "assets" property does not support. Please resolve this. if...

View Article
Browsing all 15932 articles
Browse latest View live


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