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

Setting exact spaces between two text frames

Hi guys,I am new to applescript. I need to Setting exact spaces between two text frames.It is possible in applescript? In my indesign page having 2 text frames only. and i have to set exact spaces to...

View Article


How to get name of executed script in InDesign

Hi, Is there any possibility to get the name of executed script within the InDesign CS6 application.For example, I am running five different scripts at different intervals. Each time I run the script,...

View Article


Copy layer contents to other opened docs - crashing inDesign

Hi everyone, As part of my work flow, I've written a script that's meant to copy to contents of a particular layer (in this case "palette") from whatever document you currently have active, over to any...

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

Please provide the Story Splitter script by Adi Ravid?

Hi, I'm working on a complex book and need to split threaded stories at lots of places. I know I can do it manually through the Story Editor but have really set my eyes on the Story Splitter script...

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

JS - Save File as Field Name in the Data Merge Source File

Hi All - I need some help... I'm trying to figure out the JavaScript code to save an indd file using the data merge source file field value. As an example... Let's say I have an invoice template called...

View Article

SortParagraphs Rules Do Not Follow Standards

SortParagraphs seems to use different sets of rules in determining the sorting order of hyphenated words and quotes. I sorted the following in InDesign’s SortParagraphs.applescript and compared the...

View Article


Label Links in Finder

Hey there, is there a Indesign Script to mark all Indesign Links colorful in the Finder or do i need a AppleScript for this issue? Thanks a lot!

View Article


about with script find grep and delete

Can we delete grep we found app.findGrepPreferences = app.changeGrepPreferences = null;       app.findGrepPreferences.findWhat = "A\\t";app.findGrepPreferences.fontStyle =...

View Article

How to capture Mouse click event in InDesign CS5 using Javascript

Hi, Can any one suggest me how to capture Mouse click/double click event in InDesign using Javascript. Also, is it possible to get the name (probably menu name) of the item where the mouse is clicked?...

View Article

more efficient right aligned page numbers in TOC

In order to right align the page numbers in a table of contents, after generating the TOC, I need to manually insert a tab character to the left of each automatically generated page number.I'm looking...

View Article

[CS4] ScriptUI palette - focus problem

Does anyone know of any changes to ScriptUI's focus behaviour?My palettes (Windows XP) now seem to grab various keystrokes (such as backspace, cursor) regardless of where the cursor is placed. This...

View Article


search the texts above and below object

Hi everyone,I have a document and it contains one story.this story having 3 tables .I need to search the texts above and below for every table  using applescript, the texts are some paragraph styles....

View Article

last nextTextFrame

Hi, I am tying to locate the last textFrame in my document to add a '\r' , I know that there are only three Text Frames. //the second text frameif(leftTF.nextTextFrame != null){var leftTF2 =...

View Article


[JS CS3/4] ScriptUI How to color a button ?

Is it a way to get a colored button in the ScriptUI DOM ? I tried dlg.button1.graphics.backgroundColor = dlg.button1.graphics.newBrush(dlg.button1.graphics.BrushType.SOLID_COLOR,[0.7,0.7,0.7],1); But...

View Article

Script UI 89858 error

Hi everyone I change the script into thisbut cause 89858 errorso can some fix this error? RegardJohn //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...

View Article


How to export book pdf using custom presets for all book files in indesign...

How to export book pdf using custom presets for all book files in indesign using javascript.

View Article

Scripting Error 16389

We've got a script developed by an old IT person that works fine in CS3 but of course, fails miserably in CC.  'Set myInDesign = CreateObject("InDesign.Application.CS3") Set myInDesign =...

View Article

find page number for story

hi,

View Article
Browsing all 15932 articles
Browse latest View live


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