Questions tagged [script]

Small programs automating certain tasks. For questions about script typefaces, use the script-typeface tag.

Filter by
Sorted by
Tagged with
1 vote
0 answers
23 views

Updating link to changed Word document results in wrong paragraph style in InDesign

I have over three hundred word documents linked into my InDesign CS6 project. The authors of these can update them with revised texts. The documents are all in Normal Word style, and I have a mapping ...
  • 11
1 vote
1 answer
68 views

Inkscape scripting and automation: nodes?

How does Inkscape handle nodes in scripting? Or can the nodes be written out in some way? Or perhaps there is a better place to ask about this: I have a simple manual clicking routine that seems a ...
0 votes
0 answers
35 views

With GIMP 2.10, how can I automatically sort and organize layers most efficiently on a canvas?

In order to print a lot of photos at scale, I create a huge canvas in GIMP and drag the images, then organize by hand. The result looks like this. I feel like GIMP could do its own organization of ...
-1 votes
2 answers
126 views

Getting all hex colors to export to png

I'm doing something kinda silly where I actually do need all ~16mil RGB colors. I do know how to do them separately, one by one, but I can imagine that taking quite a long time to do it manually. This ...
  • 167
0 votes
0 answers
29 views

Photoshop : Taking existing Pixel art and Automatically creating individual layers

Right here is an interesting one. For a project I need each pixel of existing pixel art on an individual layer. There are potentially hundreds of images so i cant just copy, paste to new layer for ...
1 vote
0 answers
53 views

Photoshop script to swich path operations?

Is there script which allows me to set and use one path operation and switch it to another? I need to use "combine shapes", later I need to use "subtract front shape". So I need to ...
  • 35
1 vote
0 answers
49 views

Photoshop script for turn on/off Only web colors in Color picker

Goal: Compare one color selected with eyedropper tool to foreground color (white). If foreground color (f7f7f7) is close to white (ffffff) then run code... I want to find/convert selected color to ...
  • 35
0 votes
0 answers
65 views

Automatically detecting an existing white border around a batch of inages

Looking for a way to detect an existing white border around a batch of images before/while executing an action to remove the border and upscale to original size. Happy for the detection of border and ...
1 vote
0 answers
123 views

Photoshop script to insert an image into a layer

I am using Photoshop and Photopea to streamline a workflow. Rather than making hundreds of PSD templates I am hoping to use a base template in where a script dynamically adds the right image depending ...
1 vote
0 answers
49 views

Custom photoshop script to combine files

I've created a few drawings of characters with blank faces and several different facial expressions that I intended to simply put over the drawing of the blank-faced character (face pictures have ...
  • 111
3 votes
1 answer
89 views

Can you change the hue of a PNG with Simple Inkscape Scripting?

I am attempting to use Simple Inkscape Scripting to programmatically construct an image. I have been working through how to place various objects at (x,y) coordinates on the design surface, but what ...
  • 131
0 votes
1 answer
31 views

Is there a quick way to do multiple : Select > Same > Fill & Stroke and group

I am working on many designs and the job i have been given is to change the colours but all designs have lots of colours so i need to select all the colours and group them. After 100 designs and 35 ...
user avatar
0 votes
0 answers
357 views

Script for ; Select Same fill color and object group for all colors separately

In Illustrator 2019 CMD+G does not work to select all the colors. I need to select all the separate colors and make them groups. Does anyone have a script that would do this please?
user avatar
0 votes
2 answers
217 views

Gimp: Automatically save alternating layers and one set background layer?

I have one base layer and ten optional, alternating layers (on/off features). So there are 2**10 combinations with 10 optinal layers so I should get 1024 variations generated with my layers. As a ...
  • 1,067
2 votes
3 answers
368 views

I need to place a large A4 doc into an A3 doc. 2 A4 pages for each A3 page. How to do this quickly?

Part of a task I regularly have to do is to place A4 documents into A3 documents. 2 A4 pages side by side onto each A3 page. The A4 documents can be long, so it's a nuisance to have to place, size and ...
  • 41
2 votes
1 answer
175 views

Do "let" and "const" work in Adobe scripts?

Do they work or they don't? Changing some var variables to let resulted into error, while changing some of them to const didn't. Are both of them unsupported?
  • 131
0 votes
2 answers
587 views

Image trace setting for BW image so no white BG is added

I have a black and white images PNG (+5000) on transparent BG. I am trying to find a setting that will trace the images without creating a white block in place of a transparent segment. I need the ...
-1 votes
1 answer
152 views

PS Script to switch between layers in Photoshop

I've been searching for months for a solution to use a shortcut to select the one layer above the selected or the layer underneath the selected one. Because I dodge & burn with curves it's taking ...
  • 11
2 votes
1 answer
164 views

How to create a darken/lighten keyboard shortcut in Illustrator?

Searching for greyscale keyboard shortcuts I stumbled upon this nice useful video. However at minute 1:15 she uses a keyboard shortcut to quickly lighten and darken the selected colors. How does she ...
0 votes
0 answers
146 views

Fixing an error in the RandomSwatchesFill.jsx script?

I am trying to assign random colors to vector shapes in Illustrator 2021 on my Mac (running macOS BigSur). With some research, I found the script below. Each time I run it, however, I get an error ...
-1 votes
3 answers
712 views

Indesign replace multiples links by other folder images

I don't find a script or tricks to do that, i would like to replace ALL images by other folder (with different images). exemple: i made a template with 4 box who contain the same image : toto.jpg, ...
1 vote
1 answer
833 views

Photoshop script to take a Smart Object and "Relink to File"

Please help :) In Photoshop CC under "File > Place Linked..." I can select a file to be placed as a linked layer (layer with a link icon over the layer thumbnail). I would like a ...
  • 31
1 vote
2 answers
383 views

How to force whole numbers to have one decimal place in Adobe Illustrator?

I make a lot of graphs using Illustrator for my company. Unfortunately, the graphing tool in Illustrator is very archaic. When adding number labels to graphs, Illustrator automatically removes .0 from ...
0 votes
1 answer
155 views

Writing GREP Wildcard Script for Illustrator without prompts

I found a script on here that adds percentage symbols to numbers in illustrator. It works great and I figured out way to auto populate the fields with the needed strings to run the code without having ...
0 votes
0 answers
100 views

Convert automatically a specific color to another inside a set of png icons

I have a set of .png images (which are controls like buttons, sliders, checkbox etc for a GUI) and I'd like to convert a specific color to another for each files using an automatic solution. For ...
  • 1
0 votes
1 answer
901 views

Batch crop and center photos by trimming whitespace

Processing large amounts of product images shot on white backdrops is very time consuming and seems like the perfect job for an app/script, but I cannot see anything available that can do this. If I ...
  • 3
0 votes
0 answers
23 views

Keep image ratio bulk export JPG from Indesign

Is there a reason why the generated JPG has the ratio of the image frame its in. Say you place a square psd file and make it smaller in the rectangle and also make that frame rectangular. Now the ...
0 votes
1 answer
54 views

Does anyone know this embroidery font? [closed]

[![enter ima Please and thank you! I'm attempting to match this script embroidery font????
1 vote
2 answers
499 views

Is there a script to re-stack objects in illustrator by distance from top left?

This is ideal for the creation of isometric graphics. You can replicate an isometric tile symbol with a graphic in it, like a house or a tree, multiple times, then run the script to re-stack all ...
-2 votes
1 answer
91 views

How can any color width and height be found in Illustrator

How do we get the width and height of any color in Illustrator in a document. With PHOTOSHOP we know this when we select it in the Ctrl+ Color Palette in the channel, but how can we find it with ...
  • 41
3 votes
1 answer
400 views

Can you control Photoshop with external software?

I want to write a program that changes the foreground color, selected tool, etc. without having to use things like macros and actions. I'm developing on Windows. Any ideas or resources?
-2 votes
1 answer
666 views

how get paragraph style and character style of selected text in indesign by script

I want the selected text to be displayed to me when I select a word or text in InDesign by executing the style paragraph script and its style character?
3 votes
2 answers
1k views

Randomly fill image with unique colors?

In this image, I would like to randomly fill each region with a different color, such that, no two regions have the same color. I've been searching for such a method and have come across a script that ...
  • 31
0 votes
0 answers
119 views

Files from Adobe Bridge to Separate Folders

Asking this again. I still haven't found a solution to this. I have hundreds of images in a folder in bridge. I have tagged them alternatively by colour. The first bunch as Green, the second as Red ...
  • 33
0 votes
1 answer
1k views

How can I create a "pill" SVG image in XML (by hand)?

I need to generate an SVG image of a pill box, like so: I know how to draw a circle with the <ellipse> element, how to draw a <path> element with the M (moveto), L (lineto), and Z (...
-1 votes
1 answer
88 views

How to deliver more than 500 certificate? [closed]

I was created a template of achievement certification and i would like to send it to 500 persons,how can i write name's in the template and save it one by one using adobe illustrator ?
  • 20
1 vote
0 answers
123 views

How can I set up an action to bulk pattern fill that selects the next pattern in the folder automatically?

I tend to work with patterns and have an action to help with this. But, I tend to save my patterns as a .pat file, with anywhere from 10-200 patterns within each .pat file. I am trying to figure out a ...
  • 11
2 votes
1 answer
904 views

How to import a folder full of pictures, one per page, alphabetically in InDesign

I'm trying to import a folder full of pictures (bar codes), one per page in alphabetical order into InDesign. I've found the following link which shows how to create a script that will turn the ...
0 votes
1 answer
177 views

How can I create a collage of randomly sized overlapping polygons and randomly fill (to an extent) with gradients? (Illustrator)

I am trying to learn how to make something exactly like this from scratch:
0 votes
0 answers
211 views

Insert vertices at edges intersections in 3DS Max

What is the fast and precise way to insert vertices at edges intersections? Considering I have geometry like on the image: I want to achieve result like this (new vertices marked with red dots):
0 votes
1 answer
705 views

Ways to remove/select scanning artifacts from document [duplicate]

I often receive scanned documents that has dots and grains in them. I often use the paintbrush in gimp to manually remove them, but it occurs to me that all the dots share so many similarities that a ...
  • 103
0 votes
0 answers
79 views

inkscape extension - covert use node to path node

a couple of weeks ago i learned: inkscape - combine svg elements into combined path, and would now like to do it programmatically. my document has <use /> elements, which in inkscape 1.x show ...
  • 141
0 votes
2 answers
262 views

Illustrator script How to generate a cross to center of all selected circles

Is there a way (or Script) to place a cross (+) at the center of all selected circles?
  • 11
0 votes
1 answer
333 views

Photoshop, actions or script - create and use pattern

I would like to create a pattern and use that pattern in the same action, but when I go to use fill with pattern, the last manually selected pattern is the one that is used - even if that pattern has ...
  • 1
0 votes
1 answer
968 views

How to remove all subscript from Indesign document?

I have document its have more than 300 pages. I need to change font type with different colour. Using eyedropper tool i do that but I need to remove subscript from my document because when i use ...
  • 3
1 vote
1 answer
152 views

Why does InDesign search not begin at beginning?

I am using a script to copy sequential lines from an input text file into an InDesign document. I have used the script a number of times with no problems. var fi = new File("C:/Documents/input.txt") ...
  • 155
1 vote
2 answers
4k views

Use Photoshop from command line

Is it possible to use Photoshop.exe from command line for various tasks, such as export PSD files? (I know it's possible with third party tools such as ImageMagick, but here I'm asking specifically ...
  • 481
0 votes
1 answer
143 views

Script to relink to file with certain name

I have a photoshop document called "thisfilename.psd" and in that file there is a linked smart object which I want to relink to a file with the same name but a different extension (for example "...
  • 1
0 votes
1 answer
75 views

Giorgio - Script Font Identification

Can anyone help me find this script font? I have googled or use 4 or more font identfiers already, couldn't find, very urgent.
2 votes
1 answer
288 views

Dynamic Names When Exporting in Photoshop

Is there a way to dynamically use the document name in export? For instance, I have artboards named Square, Horizontal, and Vertical, in a document named Design. When exporting, I'd like filenames to ...