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

Why this script unfunction?

Hi everyone I try joint to scripts togeter: //======================================================================================== === function main() {    // Your settings    // ---   var...

View Article


Image may be NSFW.
Clik here to view.

Please correct this script for call xml element

Hi all, How to correct this script for 'lev1sec1' should call 'H1' in paragraph style, and 'lev2sec1'should call 'H2'.1st Issue:This is the code: This is working fine for below xml file. var myDocument...

View Article


Adjust margins to an equation based on document size

Apologetically I'm a newbie to InDesign scripting but I've been doing my reading trying to understand the Javascript route since it's the one I'm most familiar with. So my problem is trying to...

View Article

find uppercase - change in lower

Hello to all,i have bibliography which contains lot of names in uppercase.Is there a script or grep to find all these words and change them in lowercase living only first letter in uppercase?e.g.: MARC...

View Article

Updating a CS4 script to CC

Hi, first time user of the forum but have used a fair few threads of the years via google. I must admit my knowledge is fairly limited when it comes to scripting, but up until now, I have only had to...

View Article


How to make a handwriting font look like real handwriting in InDesign CS5

This is a script I've written (AppleScript) that addresses the  problem most handwriting fonts have — they look like fonts, mostly  because they're settled so regularly along the baseline and their...

View Article

IDCS6 MACOSX JS: Data Merging many txt files one after another

Hello everybody. I have a situation where I have to data-merge many text files to the one actual indesign "base" file. The formats of the databases are all the same, the point of difference is a code...

View Article

How to clear all overrides in a story

Hi Everyone! I've been putting together a short script to clear all overrides in a story in which I have a cursor inserted. This is what I have so far:  //Clear all overrides in the story of the text...

View Article


script to align all objects in the whole document to the left and to margin

Hello,I need a script to align all object in the whole document (all pages) to the left and top margin. is that possible?thank you!

View Article


Image may be NSFW.
Clik here to view.

how do i find the last selection OR the highlighted selection?

When i select some items in indesign i have the option of "command + click" to highlight one of the selections. How would i find that highlighted element in scripting?OR How would i go about finding...

View Article

Image may be NSFW.
Clik here to view.

How can set a var array for tabs?

Hi eveyone, Is that possible to set a var array for tabs for instances:var oneTab = RegExp(“(.+)\\r”)var twoTab = RegExp(“(.+)\\t(.+)\\r”)var threeTab = RegExp(“(.+)\\t(.+)\\t(.+)\\r”)var fourTab =...

View Article

How can I combine two very good ideas together?

I got two scriptsboth function: find-change on masterI love both very mcuhbut how can combine two scripts together? 1st:...

View Article

script to insert new master on every other page

I've got an indesign document with 131 pages (front side of postcards). I need to add the back side of the postcard (Master) to every other page. I don't want to manually do this due to the time and...

View Article


new project on GitHub - DialogBuilder for InDesign CS5... (pure javascript)

Let me introduceone of myProjects - DialogBuilder for ExtendScript.Designerfocused onautolayout dialogs and generates code as ScriptUI-resources strings.small video on YouTube probably it will be...

View Article

Why this script unfunction?

Hi, everyone can you find the wrong syntax of this script, and help me to fix it? app.findGrepPreferences = app.changeGrepPreferences = null;var doc = app.activeDocument,         _selection =...

View Article


How to find x,y coordinates of objects in PDF document

Hi, Can any one help me how to find x,y coordinates of an object in the PDF document using Javascript. The object could be text or image or color panel. I want to get the x,y position of that object....

View Article

Find Text by Formatting and convert to outline

Hi! I need a script which find the text by formatting and convert to outline. If any one know who can make this script please provide.ThanksI need the script for specific formatting only for once. So I...

View Article


Problem with create a folder

Hello guys, I wrote this code  var myWindow = new Window ("dialog","Laredoute Strukturskapare"); myWindow.orientation = "column"; myWindow.add ("statictext", undefined, "write a number...

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

Image may be NSFW.
Clik here to view.

Create folder hierarchy and multiple sub folders

Dear Friends, I have copied script from "create folder hierarchy" (created from chinna), but i need small modification from their script, I have added the below comment for subfolder created purpose,...

View Article
Browsing all 15932 articles
Browse latest View live


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