Questions tagged [script]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Trying to find this Font [on hold]

Trying to find this font. Any help would be appreciated! Thanks, Tess
0
votes
1answer
31 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 ...
1
vote
1answer
51 views

How to automatically generate text that adopt the same name as imported image or excel file in illustrator?

I have a lot of product photos to edit in Illustrator. I want to create several artboards with one product image, and then one text box for each artboard, but i need these to automatically adopt the ...
0
votes
1answer
43 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
18 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
14 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 ...
1
vote
0answers
22 views

Selecting textframes with illustrator script

How could I select textframes in illustrator with script? Here is my code: var doc = app.activeDocument; var nameKorText = doc.textFrames.getByName('nameKor'); nameKorText.contents = "test"; I ...
1
vote
1answer
39 views

New Folder with Selected Files in Adobe Bridge

I have hundreds of images in a folder in bridge. I have tagged them alternatively by colour. The first bunch as Yellow, the second as Blue the third as Yellow again and so forth. I want to copy each ...
0
votes
0answers
29 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. :(
1
vote
1answer
31 views

InDesign script to insert pages between existing ones

I try to create a very simple script that adds one page after every existing page of the document and applies one of the masters to it. Unfortunately I have a problem with referencing objects in ...
0
votes
0answers
26 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
2answers
80 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 ...
2
votes
3answers
66 views

Need Help With Tweaking a Script for Photoshop Batch Exporting Sections of an Image

Resolved: Thanks for the help, everyone! The script by Sergey Kritskiy works to export storyboards with sequential file-name. I just found a script by TunaMaxx the other day and thought it was super ...
3
votes
1answer
94 views

Any way to export layers to files WITHOUT a prefix, short of editing the .jsx file?

I'm using a template PSD to crop large batches of ecom images and then exporting my layers to TIFF files. Only problem is Photoshop insists on putting a prefix in front of each file name--even if I ...
1
vote
0answers
51 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. ...
2
votes
1answer
136 views

Resize thousands of images all to different sizes in batch. Name and size are given in excel file. How to do it? [duplicate]

Pardon me if this is a duplicated question even though I could not find a solution yet. I have about 1000s images. I need to resize them, each to a specific size. There are no patterns to those sizes. ...
0
votes
0answers
27 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
197 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
107 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
26 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
58 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
49 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
86 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
80 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 ...
1
vote
1answer
67 views

Plotting points from external file in GIMP

I've got to believe someone has written a SCRIPT-FU scriptor or simple plug-in that reads a file of (x,y) points (in GIMP's coordinate system) and plots small circles of specified color and diameter ...
0
votes
1answer
150 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
435 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 = ...
2
votes
1answer
600 views

Script to Change Table Style - InDesign CC

I have an InDesign CC 2018 document which I imported a docx file. The file contains a lot of tables. I want to apply a table style to all of the tables, but we are talking hundreds of tables. Is ...
2
votes
0answers
54 views

Calling a (simple) photoshop script rapidly (many times per second)

This is the script, it's actually just one command: app.foregroundColor.hsb.hue=app.foregroundColor.hsb.hue+10 The script is merely a replacement for a non-existent keyboard shortcut. I'm calling it ...
2
votes
1answer
270 views

Scripting Artboard Export with specific bit depths

I'm working on setting up a reusable template for some PNG avatars. Unfortunately, the different avatars have specific export requirements. Currently I'm using Save for Web to achieve these specific ...
1
vote
1answer
194 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?
0
votes
1answer
228 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 ...
3
votes
3answers
980 views

Generate palette from image

I want to automatically generate a palette from an image. Something like this, where the output is an image a single pixel tall, and 256 pixels wide, from all the colors of an input image. I've ...
0
votes
1answer
331 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
2answers
124 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 ...
2
votes
0answers
211 views

Artboard renaming issue

I'm working on a script for my team that will allow them to batch rename artboards in Photoshop. We use the following naming convention for our artboards: "ProjectTitle_BannerType_WidthxHeight_LG" ...
2
votes
1answer
1k views

How to create a script in GIMP?

I'm using GIMP to do a simple but tedious operation for many images so I'd like to know how I can make a script that will do it for me, or find some simpler way of doing this. I import an image file ...
0
votes
1answer
210 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
568 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 ...
1
vote
1answer
144 views

Indesign Script - output xml content as textframes [closed]

Is there a way of looping through xml tags and output each tag onto a new page of an indesign document Here is what i have so far but i think i am way off: var myDocument = app.activeDocument; var ...
-1
votes
1answer
90 views

How to fill a shape with different elements of varying sizes

I'm looking to replicate this effect without having to putting each icon in by hand manually. Is there a program or script that could help me achieve this? I tried it with some mosaic apps but it ...
0
votes
1answer
673 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 ...
1
vote
1answer
150 views

How can I mimic a used magazine cover (crease, earmark, cracks) with Gimp? [closed]

I have made a fan magazine cover with Gimp (Sunken novels): I would like to imitate creases, cracks, earmarks, tears (maybe even coffee mug marks) to give it a used, worn-out look. Something like: I ...
2
votes
1answer
368 views

How to reset Vertical/Horizontal Scale of Smart Object to 100 percent by script

I want to write a script to reset Vertical/Horizontal Scale of a Smart Object. I tried using ArtLayer and many properties of it, but it's not success. Example: W:100% - H:75% app.activeDocument....
2
votes
1answer
2k views

Duplicate artboard with script Illustrator CC

I tried to create an action to automate "duplicate artboard" in Illustrator CC but it was not possible. I would like to know if there is any script to do this. Thanks
0
votes
1answer
755 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 ( ...
2
votes
0answers
176 views

Batch export OBJ files from Photoshop keeping the PSD filename

I have an action that takes a psd with a 3d layer that: Resets the rotation of the Object Moves it to the Ground Plane Unifies it Exports to an obj file (here lies the problem) Closes the document ...
0
votes
2answers
525 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 ...
1
vote
1answer
465 views

Filter, Script or Effect for smudge design

Is there a filter, script or effect to create a smudge design like this: Would this be possible to create this effect programmatically or is this not in the scope of Illustrator/Photoshop? How would ...
2
votes
1answer
555 views

How to script resize export and specific folder output?

I maintain my uncle's photography website and that work currently at least consists of resizing new photos to different sizes (full, retina-thumbnail, regular thumbnail) and putting them on the site (...