Questions tagged [extendscript]
ExtendScript is one of the scripting languages available for implementing custom functionality for Adobe products like Photoshop, Illustrator, etc. ExtendScript is based on, and has been kept locked specifically to, ECMAScript 3 (released in 1999).
extendscript
945
questions
0
votes
0
answers
26
views
InDesign doc to HTML doc conversion
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-...
1
vote
1
answer
22
views
Return the dimensions of a place image in extendscript
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 ...
0
votes
0
answers
37
views
inDesign Script Errors for Batch Exporting
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 ...
1
vote
1
answer
39
views
get characters and shorten folder name, applescript to extendscript
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"
...
1
vote
0
answers
12
views
Premiere SDK. Is it possible to add an alpha matte through premiere script?
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 ...
0
votes
0
answers
20
views
After effects CS6 automate apply exposure effects with a value using ExtendScript
Brand new to ExtendScript Toolkit - please be patient with me.
I am trying to do a simple thing, which is similar to Photoshop's Action. Since I have tons of files to set Exposure to "-12" ...
2
votes
2
answers
73
views
newbie moving from applescript to extend script trying to round corners
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 ...
0
votes
1
answer
69
views
How to fill a path in Adobe Photoshop with ExtendScript
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
}
...
2
votes
1
answer
63
views
InDesign - making an independent window that will stay open while making corrections in the document
var Widows_Report = new Window("dialog", "Let's Find Some Widows", undefined, {borderless: false, resizeable: false});
Widows_Report.orientation = "column";
Widows_Report.alignChildren = ["center", "...
1
vote
1
answer
51
views
Used AI to generate an Adobe Illustrator v28.3 script that groups the contents of each individual artboard. Can't get it to work
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 ...
1
vote
1
answer
100
views
Is there any way to move above text into the below table's second cell in InDesign using JavaScript
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 ...
0
votes
0
answers
16
views
Can this be code be reduced? (Extendscript) (ScriptingListener plug-in)
Please bear with me, I’m still at the very bottom of the beginner level and I’ve just discovered the “ScriptingListener plug-in” yesterday.
I picked this code from the plug in:
var idMk = ...
1
vote
2
answers
34
views
activeDocument.bitsPerChannel = BitsPerChannelType.SIXTEEN; (WITHOUT MEREGER?) (Extendscript)
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 = ...
1
vote
2
answers
60
views
close button malfunction (Extendscript)
Here is the whole script.
UI();
function UI() {
var window = new Window ('dialog', 'Settings', undefined, {closeButton: true});
window.orientation = 'column';
var iFolderC = ...
1
vote
2
answers
29
views
edittext not responsding .onClick (Extendscript)
Why is this not working?
...
var newFolder = inputGroup.add ("group");
var newIFolder = newFolder.add("edittext",[0, 0, 300, 20]);
var addButton = newFolder.add ("button"...