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
0answers
53 views

Script font Identification help please [closed]

Poor original script font for identifying. I’ve tried everything to ID the original is just too poor. I edited it heavily and was able to get a search. No exact match but some possible substitutes. ...
1
vote
1answer
250 views

Is there a way to save the current GIMP edit history as a script?

Is there a way to export the edit history so I can use it in a script-fu?
1
vote
0answers
101 views

Is there an automated way to draw pixel measures on an image in GIMP

Question Is there an existing plugin or script for GIMP that performs the same function as the pixelmeasure script described below? Background There is a JSX script for Photoshop (pixelmeasure.jsx) ...
1
vote
0answers
1k views

Convert a PSD Photoshop file for Gimp

I'm looking for a script or any another solution to convert a PSD file for Gimp because our developpers use to work with Linux. We've seen that some layers don't work, it is necessary to merge the ...
1
vote
0answers
194 views

What is the script font used by our engraving machine?

Can someone help me identify this script font? I've tried using WhatTheFont, Identifont, WhatFontIs, FontSpring and Adobe Font Match. No luck. The font I'm trying to identify is used for an ...
0
votes
1answer
38 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.
0
votes
1answer
411 views

Script for random movement (scatter)

I have found (and use) scripts for random opacity, random resize, random rotation etc. but I can't seem to find one which will do a "random displacement/move" With the other above mentioned scripts, ...
0
votes
1answer
327 views

Script for GIMP to make a certain area transparent for several images

I would like to have a script to process a set of image files in png format, lets's say inside of one directory. We can also assume the images have the same size. The processing should contain of the ...
0
votes
1answer
208 views

Scripting 1-line vs 2-line text boxes

I will try to ask this question as best I can, but the problem is a challenging one. I have a text box that one part of my script will change the text in. I want to code a boolean variable to check ...
0
votes
1answer
559 views

In script, get paragraph preceding current selection

I've made a script that goes trough all tracked changes: var allChanges =app.activeDocument.stories.everyItem().changes.everyItem().getElements(); var nChanges = allChanges.length; for (var i = ...
0
votes
2answers
162 views

Saving smallest JPG possible with Photoshop

I wanted to know what the best way to save a JPG to be very small and still keep its quality as much as possible. I have 1200x1200 psd files that when I save them while keeping quality the jpg is ...
0
votes
1answer
897 views

Mass export all images as individual JPEGs in InDesign, but not use image frame ratio

I would like to mass export all linked images in a Indesign document using this script, its from this thread var myDoc = app.activeDocument, apis = myDoc.allPageItems, pageItem, fileName; while ( ...
0
votes
1answer
509 views

Create multiple instances of an image with text from csv file

I am looking for a way to create a personalized birthday card. I have already created the image and would like to add the names of the recipients from an XLS or CSV file. I want to create about 300 ...
0
votes
1answer
559 views

Indesign: Run the CropMarks script on all pages

I have a document with a few hundred pages which is just an 8up layout to print a smaller document. I was able to get the layout on all pages correct, but adding crop marks by page is going to take a ...
0
votes
2answers
333 views

Produce PDF files from single PDF template plus variable address information

I have a PDF-file which on page 2 looks as shown below. When I open it in Preview or Adobe Acrobat Reader DC (on a Mac), I don't get a chance to input text between the lines. It looks as if the PDF ...
0
votes
1answer
37 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 ...
0
votes
1answer
31 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 ...
0
votes
2answers
67 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 ...
0
votes
1answer
30 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 "...
0
votes
1answer
37 views

Is there a script that splits text layers into seperate lines (text layer for each line)

I wanted to know if anyone knows of any scrips that splits text layers into separate lines. I have one right now, but the problem is, when it splits the layers it goes way too far down. Heres the code ...
0
votes
2answers
236 views

How to get the coordinates for a selection bounding box in Gimp

I'll make a rectangle selection in image. I have to read the left, right, up and down dimensions of this selected region in full image. The following image is an example of this. Edit: Can we print ...
0
votes
1answer
277 views

Batch background removal on non-uniform images

The issue I'm having is the following: I have an archive of about 700,000 tif images that were originally microfilms. They are all black and white and are basically paper with information on it. I'm ...
0
votes
1answer
70 views

How to turn off Text Layer-Name Update

In this question: Restore Photoshop Text Layer Name Auto-Updating? The asker talks about Photoshop's 'feature' of automatically updating a text layer's layer-name to the first thing you change the ...
0
votes
1answer
109 views

Weird Script UI bug

I'm working on a script with a dialog box in photoshop. The goal is to get an End Date and Time for multiple banners. My Cancel button works fine, but my Ok button produces a weird bug. The window ...
0
votes
1answer
657 views

Replace smart object content without Photoshop

I am looking for a way to bulk replace smart object content without using Photoshop. My goal is to create nice poster mockups for hundreds of posters automatically. So I have a PSD file containing ...
0
votes
2answers
543 views

Is there a way to make the background of an image transparent?

Like explained here: Making the background of an image transparent in Gimp But via CLI! I'm using Gimp on Ubuntu, and I would like to do this on a bunch of images.. Even if it doesn't do a perfect ...
0
votes
1answer
825 views

Die Lines Drawing of boxes Adobe illustrator cc script

http://swsharings.blogspot.com.tr how do I do this for the described here FEFCO 0201 code box ? I tried so hard but I couldn't The .jsx script can be downloaded at the following link instances. In ...
0
votes
3answers
5k views

How do I get rid of this invisible box?

When I use the "direct selection tool" (not the regular selection tool) to select the image, this box randomly shows up around it... It is making the script I wrote freak out. Basically, what I need ...
0
votes
2answers
2k views

Automatically resize an object by a percentage when a particular object style is applied to it

I work for an education company, and we deal with a good number of fractions when writing our publications. We currently use MathType to generate the fractions, which saves each fraction as a separate ...
0
votes
1answer
31 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") ...
0
votes
1answer
32 views

Dynamic Names When Exporting in Photoshop

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

Is there a way to automate the merging of groups in photoshop, one by one?

In a file, I have about 10-20 groups of independent layers each. Is there a script/action that identifies each group and merges them one by one? As of now, it takes me a lot of time waiting on a ...
0
votes
0answers
64 views

How to replace Smart Image with a different graphic WITHOUT using Photoshop?

This Q&A offers a method by using Photoshop to load .js. However, I found this website can achieve this goal without using Photoshop. My question is how this website achieves this goal?
0
votes
0answers
114 views

Change SVG-file resolution (DPI) with Inkscape/Illustrator/script… efficiently!

Is it possible to simply open a SVG and save it with different DPI? Since Illustrator exports with 72 dpi and Inkscape "imports" with 96 dpi, my artworks are rescaled. As I rescale documents manually ...
0
votes
1answer
35 views

Action including a fill layer

I'm operating in Windows on CC2019. I'm writing an action in which I include a layer fill. I want it so that when I run the action it fills the layer with the foreground colour I have selected at the ...
0
votes
1answer
66 views

Examples of very basic GIMP scripts?

I want to write some simple scripts to use in batch mode, such as doing a resolution resize, or converting from rgb to grayscale. The old scripts repository seems to have been taken down. I am ...
0
votes
0answers
30 views

Adobe After Effects: Changing color and font style through expression

I am trying to achieve something like this using expressions. Where any number followed by a dot is Red in color (including dot) and then anything inside parentheses is italics and yellow in color, ...
0
votes
1answer
19 views

How to export multiple artboards coordinates (x y) to file?

I have an Illustrator file with several artboards as attached. In particular I have an artboard that contains all the others. The other artboards concern the individual objects to be exported. I ...
0
votes
0answers
48 views

Turn on 'Paste Remember Layers' with script

I want to paste object remembering layers on new artboard. Here is my sample. function test(){ var copyOpt = app.pasteRememberLayers; copyOpt = true; ... } But it doesn't work. Help me, plz. :(
0
votes
0answers
41 views

Dithering with GIMP python-fu

I'm using GIMP 2.10.6 on Ubuntu 18.10. I'm trying to script an automatic image manipulation, and for part of the workflow I need to dither a layer in my image. I can't find anything in the script-fu/...
0
votes
0answers
31 views

Scribus: how to force sign in calcuated numeric fields?

I'm new to Scribus, and using it to make an interactive PDF. I have several fields that are calculating integer values based on a custom calculation script. Now I would like to make sure that positive ...
0
votes
1answer
206 views

How to change in photoshop script color of Smart Object Layer, or Rasterized Image?

I need to change color of Smart Object Layer in JS script. I found how to change TextLayer, but SmartObjects haven't "textItem" property. Need to change it like Color Overlay works in Photoshop. For ...
0
votes
0answers
30 views

Gimp, script that iterates through several images and exports each one with different options

I'm quite new to gimp. Assuming I have N images I was wondering if it is possible do the following: For i = 1...N For each export options j = 1 .. N Export(img[i],option[j]); Basically what ...
0
votes
2answers
113 views

Photoshop - Export layers to files using plugin

I'm using a plugin to export my pngs (https://www.fnordware.com/superpng/) Anyone knows how I can replicate the Export Layers to files functionality that comes with photoshop but export as SuperPNG? ...
0
votes
1answer
146 views

ScriptUI panel resizing issue

I'm working on a script that receives a bunch of input from the user to change certain text fields around the document. Given the amount of input I want the user able to change in a single run of the ...
0
votes
1answer
264 views

How to import data and create a symbol using scripting with Illustrator?

I would like to automate a series of actions in Illustrator, creating a complex symbol from vector images imported, or from simple symbols. The actions are: Importing files or choosing symbols from ...
0
votes
1answer
342 views

Way to quickly select random objects with variations in foreground/background [duplicate]

So, I'm Trying to find a way to select areas of images that have similar levels of contrast, but with variations of color. Is there a way through scripting or otherwise in Photoshop to select ...
0
votes
1answer
817 views

Illustrator script to convert multiple files into outlines with a pdf preset

Can someone help with an illustrator script that can convert text from multiple files in a folder to outlines and save it to pdf with a specific preset of my choice? Was able to find from my research ...
0
votes
2answers
569 views

Adobe Illustrator: Export PDF (custom preset) + Export JPG (RGB) 300dpi quality 10

I work a lot of graphics daily and at the end of the work i always save in two different formats: PDF Print Ready & JPG (RGB) 300dpi > Quality 10 So everytime i do have to make this steps: 1) ...
0
votes
1answer
527 views

Placing the names of layers in Photoshop into Illustrator as text

I'm using a linked .psd file to quickly make a series of images for screen-printing and web all at the same time. I use it to place images from Photoshop into Illustrator. The linked file is really ...