Skip to main content
Filter by
Sorted by
Tagged with
3 votes
2 answers
61 views

In a scenario where I have a TextFrame (TF) with content, and there is lots of empty space at the bottom of the TF. How can I accomplish in InDesign JS the equivalent of 'user interaction of ...
Michael's user avatar
  • 313
1 vote
2 answers
76 views

EDIT: I took a different approach where I break the content into 2 separate textframes. Not the solution I wanted, and isn't an answer to the question I posed, but it allows me to move on. I'm leaving ...
Michael's user avatar
  • 313
1 vote
1 answer
134 views

If i run this code, var sel = app.activeDocument.selection; for (i = 0; i < sel.length; i++) { sel[i].textRange.characterAttributes.textFont = textFonts.getByName("ArialMT"); } it ...
user31690192's user avatar
1 vote
1 answer
58 views

I have a .jsx script for adobe illustrator which: grabs data from a csv places a predefined symbol and resizes it according to csv data unchains the symbol and replaces two text strings according to ...
KSPR's user avatar
  • 2,457
0 votes
0 answers
107 views

I'm developing a UXP plugin for Adobe InDesign and trying to access the name of each page using page.name. However, when I run the following code, page.name consistently returns undefined, even though ...
Omri Developer's user avatar
1 vote
1 answer
81 views

I want to write an ExtendScript program for InDesign which creates a TextFrame, and then fills the frame with paragraphs, styling the paragraphs as it goes. I.e., add a paragraph, apply a style to ...
Greg Anderson's user avatar
0 votes
0 answers
58 views

I am trying to build a simple extnesion panel in premiere pro, it has a single button on it, when the button is clicked, it will run the contents of the file, p:myScript.jsx, whose content for now is: ...
GaryAtlan82's user avatar
0 votes
0 answers
44 views

I have built a simple media player panel for Adobe Premiere Pro that allows users to preview audio files from within the application, rather than trawling through windows explorer and opening in VLC. ...
presidentp's user avatar
1 vote
3 answers
122 views

I have a Photoshop PSD document which has a layerset named “Flags“. “Flags” has a sub-layerset called “LEFT-Flags“ which itself contains artlayers, each with a national flag image. The number of these ...
Chris de Fur's user avatar
2 votes
0 answers
50 views

In Adobe Illustrator, when working with a CEP (Common Extensibility Platform) panel that modifies TextFrame objects and dispatches events, all these changes should be grouped under a single entry in ...
Saravanan M's user avatar
1 vote
2 answers
562 views

Before I explain what I need to happen, I think it'd be helpful to explain the document I'll be working on: With InDesign, using the data merge functionality, I will create a document where each ...
Sean Larkin's user avatar
0 votes
1 answer
59 views

I have a requirement to enable the 'Track Changes in Current Story' and 'Show Changes' settings of Adobe InCopy when a document is opened in InCopy. The user does not want to click on these two ...
Grant Doole's user avatar
-1 votes
2 answers
135 views

I try to recolor text object. The color PANTONE 185 C is present in the swatches and if object type is CompoundPathItem then it works. But when a text object selected then it lost a color (that is, it ...
rozerro's user avatar
  • 7,376
2 votes
1 answer
68 views

I am using Extended Script to create a dialog in InDesign. I’m reading data from a .csv file to get a list of names and for each name, checkboxes are created to let the user decide on some options in ...
SimilarToACoolPerson's user avatar
0 votes
0 answers
61 views

Due to some reasons, we want to convert InDesign documents to responsive and accessible HTML. If we do manually, it would be very time consuming and costly as well. We want to automate or semi-...
Bhavesh Bambhaniya's user avatar
1 vote
1 answer
68 views

I have an illustrator file that contains a placed image which is contained within a clipping path of similar size, not exactly but only a couple of pixels out. When I click on the image in illustrator ...
Bob Haslett's user avatar
  • 1,113
0 votes
0 answers
84 views

I need to batch process exporting pages from an INDD document into different formats. here is what I have so far: var pdfPreset1 = app.pdfExportPresets.item("[Smallest File Size]"); var ...
Property Collection's user avatar
1 vote
1 answer
54 views

In Applescript, I use the below to get a folder on my desktop whose name ends with "PROOF" (the folders full name name is: A123456-PROOF ), it then removes the characters "-PROOF" ...
Budgie's user avatar
  • 35
1 vote
0 answers
39 views

I'm working on a project which should create a dynamic mask of the object(s) of focus (or mimic one). So far, I have the functionality to get the data of coordinates of pixels corresponding to that ...
Maxim Firsov's user avatar
2 votes
2 answers
191 views

I am pretty comfortable with scripting Indesign using Applescript, now I want to learn extendscript, & idjs sripting, I am an absolute beginer with both. Below I have managed to cobble together a ...
Budgie's user avatar
  • 35
0 votes
1 answer
156 views

I have a function that I used to draw lines and then stroke the path. export const getSolidColor = (hex) => { const color = new SolidColor() color.rgb.hexValue = hex return color } ...
Lance's user avatar
  • 4,830
2 votes
1 answer
100 views

var Widows_Report = new Window("dialog", "Let's Find Some Widows", undefined, {borderless: false, resizeable: false}); Widows_Report.orientation = "column"; Widows_Report.alignChildren = ["center", "...
Bryan Pinkey's user avatar
1 vote
1 answer
145 views

What would be the best way to solve the problem of wanting to 'auto group' all artboards? Opposed to dragging a selection box of each artboard, then hitting CMD+G, each page has 8 artboards and I have ...
grafikteaz's user avatar
1 vote
1 answer
141 views

In my InDesign document there are many tables, each table is on separate page with autoflowing text. There is a text above each table without paragraph returns. I want that text to move from there to ...
tofik tamboli's user avatar
1 vote
2 answers
86 views

I really hope the someone can help out. I just need to change depth from 32 to 16 bit without merging the layers. The code for changing depth is as follows: activeDocument.bitsPerChannel = ...
Killovicz's user avatar
1 vote
2 answers
91 views

Here is the whole script. UI(); function UI() { var window = new Window ('dialog', 'Settings', undefined, {closeButton: true}); window.orientation = 'column'; var iFolderC = ...
Killovicz's user avatar
1 vote
2 answers
55 views

Why is this not working? ... var newFolder = inputGroup.add ("group"); var newIFolder = newFolder.add("edittext",[0, 0, 300, 20]); var addButton = newFolder.add ("button"...
Killovicz's user avatar
1 vote
1 answer
92 views

I'm trying to write an ExtendScript script for Photoshop 2024. I am using app.system() to execute other programs. I can't figure out how to get a script like that to write a file. I can't get a > ...
cjbarth's user avatar
  • 4,573
1 vote
1 answer
136 views

I would like to extend NzCardComponent and add some additional functionalities in my UI and have my own tag like <my-card></my-card>. I need to override HTML also. How to do this? Just ...
Joe's user avatar
  • 385
0 votes
0 answers
66 views

I'm trying to create a script in After Effects which creates some nulls and a shape layer, and applies some expressions to paths in the shape layer. This is based on the Create Paths from Nulls ...
Nickh129's user avatar
0 votes
1 answer
108 views

I'm making a script for Adobe Indesign to read some data from a CSV file from Excel. There are some CSV annoyances with commas and quotes, so I tried to use regex to split, instead of split(",&...
Andrew Krill's user avatar
0 votes
0 answers
67 views

I created a cep to call an executable Python script that I compiled everything works fine I can run the executable file and get buffer data however, when I added a media path, I got back an empty ...
Animation Gym's user avatar
0 votes
1 answer
117 views

perhaps one can help me with some scripting snippets for: A) supress/ignore open and save Dialog in Actions with PS-script B) supress Color warnings while opening C) toogle on/off a dialog box next to ...
Sickculture's user avatar
1 vote
0 answers
74 views

Using ExtendScript for Illustrator, I need to create programmatically AI documents from scratch, with stroked texts. I created texts with the following code: textFrame.contents = 'foo' textFrame....
superrache's user avatar
1 vote
1 answer
65 views

I have a structured Indesign document. I select a text frame with text, in which some symbols are marked by an XML tag 'XXX'. I want to mark all the rest text in this story with a tag 'YYY'. I've ...
D.I. Abigor's user avatar
0 votes
0 answers
1k views

How to create .aip file (Adobe Illustrator Plugin file)? I know how to create .zxp file with ZXPSignCmd.exe. But how to create .aip file? I need something which will not be possible to open, so code ...
Liv's user avatar
  • 3
0 votes
1 answer
579 views

I am a veteran ID user here, but still pretty green on scripting. I had taken a JS class once about three years ago, but it's one of those use-it-or-lose-it things, I think. I don't remember much, but ...
TechMonkeyKS's user avatar
1 vote
1 answer
84 views

I need to automatically rename links according to a specific key. Everything works until the file name contains "...%ef..." Mac/Indesign replaces "%ef" with a colon - (from api: ...
Tomasz Galubiński's user avatar
3 votes
1 answer
194 views

I am just getting started with learning scripting for CC software. I have been reading the documentation and have managed to change the fill colour with: var colfil = new RGBColor(); colfil.red ...
Ralf_Reddings's user avatar
0 votes
1 answer
172 views

I am just getting started on learning ExtendScript or general scripting for Adobe programs. So pardon me, if I am of base. I think I have figured out most of what I need to know but I am stuck on ...
Ralf_Reddings's user avatar
1 vote
1 answer
360 views

Hello I've just completed my first extension for Adobe After Effects but now I don't understand how to build it as zxp file. I don't need to sell it or publish it in some marketplace, I just want to ...
Bm8119's user avatar
  • 11
0 votes
2 answers
161 views

Within an Extendscript Regex search in an InDesign document, it seems that I can't use the "+" operator to concatenate the "\u" and and 4-digit Unicode value. Example: var text = ...
Rudi's user avatar
  • 79
0 votes
2 answers
239 views

From what I've been reading and experimenting by myself when you add a new textFrame it adds automatically a paragraph inside of it so you can do: const tf = myPage.textFrames.add(); const myParagraph ...
GhostOrder's user avatar
0 votes
2 answers
170 views

I am trying to identify duplicate object names in an Illustrator file using ExtendScript so I can group them. I can get an array of all PageItems on a layer, I just don't know how to identify and ...
fmotion1's user avatar
  • 577
0 votes
1 answer
122 views

I am adopting Premier as my main editor, slowly transitioning from another editor that did not offer any scripting/programming access. The whole reason I picked up Premier is that it offers scripting ...
Ralf_Reddings's user avatar
1 vote
1 answer
249 views

I'm trying to automate most of my workplace tasks, but I'm somehow stuck. Part of job consists in placing various photos into an InDesign document for nesting them and creating pdfs to be printed on ...
user avatar
0 votes
1 answer
277 views

I have a script that will automatically point a user to a folder on a UNC path/shared folder on a server to allow them to load files InDesign library files from. The purpose of the script is to ...
Grant Doole's user avatar
0 votes
1 answer
428 views

I am trying to build a very basic extension for Adobe Premier Pro which simply opens up a single file but the app object is not being exposed in the object environment of javascript. Here is my code ....
Imran Bughio's user avatar
  • 4,981
1 vote
2 answers
511 views

I am writing a script in Extendscript for adobe illustrator that would automate these steps for an ink like effect: 1)Expand the selected object 2)convert to a compound shape 3)apply gaussian blur 4)...
Elina's user avatar
  • 33
0 votes
1 answer
177 views

I've been trying to write a script for Adobe InDesign that moves frames with pictures. It works, but not as I expected. I can't figure out why the script moves frames located below 553 pixels on the y-...
Ivan's user avatar
  • 1

1
2 3 4 5
19