Questions tagged [script]

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

Filter by
Sorted by
Tagged with
8
votes
2answers
2k views

Script to always save IDML with INDD

Is there an existing script for InDesign that will save an INDD file and an IDML copy at the same time? I work with dozens of independent designers on collaborative projects, and those of us with ...
6
votes
3answers
29k views

how to split an image with a grid and export automatically every frame of the grid in a single file in photoshop or illustrator?

The goal is to export automatically every frame of the 5*6 grid in a new folder with 30 single files.
5
votes
1answer
120 views

OpenType Features - Adaptable typefaces

I have a typeface I've developed that comes in two variations, one spans horizontally whilst the other vertically. At the moment they sit as two OTFs. What I would like to do is create an OpenType ...
4
votes
2answers
682 views

Save to IDML script not working in CC2017

I'm relatively new at using scripts & the ExtendScript toolkit - and I'm working in an office environment where I'm using Adobe CC2017 and coworkers are using CS5. In order for my InDesign files ...
4
votes
1answer
3k views

Can I add 'Export As' to an action script?

Could somebody explain how I can add 'Export As' as an action script in Photoshop CC 2015? I just want to automate saving icons to svg.
4
votes
1answer
898 views

After Effects Scripting : fontSize adjusted to boxTextSize Script Optimization

I need Help Improving and optimizing a Script. I'm fairly new to java and scripting in general and I've been Trying to do a script that would increase the font Size of a text until it fully fills it'...
3
votes
3answers
1k 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 ...
3
votes
1answer
145 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 ...
3
votes
1answer
867 views

GIMP: A code to edit a whole folder of images

[GIMP 2.8.16] EDITED: See below. Hi, I am new to python, and I need to ask the community to please help me find where is this code failing. I am having trouble. This is version 1.0, following this ...
3
votes
1answer
480 views

How can I quickly turn all objects of a layer to independent layers in Inkscape?

I have a single layer with many objects on it. I would like to get each one of them in a separate layer (in order to run a Processing sketch on them afterwords), how can I achieve it? From this ...
3
votes
2answers
1k views

How to change a text object in Illustrator and export programatically?

I want to generate a bunch of pngs from an Illustrator file. They're all identical except for one specific text field which contains a number (1, 2, 3, etc.). Is there an automatic way to generate ...
3
votes
1answer
281 views

Arbitrarily dotted images that simulate depth

I would like to create a flyer, that has a design similar to the one below. I'm thinking of several images, converted to a kind of halftone (simulating depth), but with arbitrarily scattered dots ...
3
votes
4answers
3k views

converting a dashed line into multiple lines in illustrator

I am wondering if anyone knows of a way to take a dashed line and quickly turn it into multiple lines, retaining its dash pattern. Maybe I need to get into some kind of scripting? If anyone could ...
3
votes
1answer
132 views

Basics of macro implementation - missing components

I am going through GIMP manual and stuck for my shame at the beginning. How do I call that autoCommander? Is it example for the final result? And assume I wrote that pseudo code into ~/.gimp-2.8/...
3
votes
1answer
416 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....
3
votes
3answers
679 views

Subtract paths, automated (using a script)

I have 100+ SVG files, each containing a few closed paths (with Bezier curves), like this: I'd like to do the following: select the first (bottom) path duplicate it move the duplicate by an (x, y) ...
3
votes
1answer
335 views

How to copy illustrator opacity mask via script?

Situation - I have a group that contains some objects partially covered by opacity mask to emulate blurred edge. It is very easy to copy-paste such group in Illustrator - and copied group contais the ...
2
votes
2answers
202 views

Can anyone help me identify this font? [closed]

I am trying to find out what this font is. I have tried Whatthefont, whatfontis, mactherator and I Bold block results. No where close to the image. I am trying to determine the font for my wedding ...
2
votes
1answer
14k views

Resizing .SVG Files

I have hundreds of .SVG files of size (256x256) which I want to change to, let's say, 48x48. I know that I can do it manually or with the help of Actions in Illustrator, but is there any script or ...
2
votes
2answers
5k views

Replacing a smart object in bulk with Photoshop's variable data or scripts

Is there a way to automate the replacement of a Smart Image with a different graphic? For example, if I have a master image of a mug, and a large number of flat rectangular images/designs I'd like on ...
2
votes
3answers
76 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 ...
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 ...
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
2
votes
1answer
263 views

Automatic extraction of layer information in Inkscape

I need to digitize photographs and extract area information from the digitized layers. I want to use Inkscape for this. I digitized the areas as paths. I can then calculate the area using ...
2
votes
1answer
770 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
1answer
157 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. ...
2
votes
1answer
292 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 ...
2
votes
1answer
587 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 (...
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
0answers
252 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
0answers
190 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 ...
2
votes
0answers
530 views

Get all text in layer by script in CS6

I'm using photoshop to support my job so I want to know how to get all text in layer and save it into a text file? I was using this script I found in github to get coordinates and layer: // Enables ...
1
vote
4answers
746 views

How to rotate all items as a group? (In a script, Illustrator)

I have an SVG with a few curved paths. I'd like to create n versions of this, by rotating them around as a group (360 / n degrees apart), around the center of the square-shaped canvas they're in, like ...
1
vote
2answers
1k views

Illustrator: Centering two groups according to an object in one of the groups

I think that the easiest way for me to ask this question is by illustrating it. So, as a simplified example, say I wanted to create a watch vector: I have created the hands (which is a group of thee ...
1
vote
1answer
1k views

Font Identification - Recent Starbucks Ad

I was wondering if someone could tell me what font this is? This was a coupon Starbucks sent out a few weeks ago for the Caramel Flan Latte. I'm looking for the "Let's Get Together" lettering. Thanks!...
1
vote
1answer
165 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 ...
1
vote
1answer
518 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 ...
1
vote
1answer
79 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 ...
1
vote
2answers
2k views

Write script for Corel Draw

Is it possible to write script in some language which would generate vectors for me automatically in the way I want? In Corel Draw of course. I have 30 basic images and I want to make a spritesheet ...
1
vote
2answers
62 views

Indesign - Need to split between only 2 text boxes

first time here. I'm working in Indesign and I was wondering if anyone knew how to split text between just two text frames/boxes. To be clear, I'm not trying to unlink text boxes, but split them. ...
1
vote
1answer
188 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
vote
1answer
55 views

PDF Form Calulations

I have a PDF form with calculations that I just created and I intend on using it as an order form. I created it in Excel then brought it into Acrobat Pro DC (Mac OS) to create the form. Its just a ...
1
vote
1answer
82 views

How can I generate multiple recolored versions of the same image?

Here's the scenario that I'm dealing with: I have a sticker which I would like to have colored into multiple colors, however, instead of saving each possible (usable) color, I would like to be able ...
1
vote
1answer
93 views

Creating graphics in bulk with minor variances

I need to make 50-500 copies of a photo with a phone number printed over top of each. Each of the 50-500 copies needs to have a different colored font or font type for the phone number. I have been ...
1
vote
1answer
278 views

how to call .aex file in after effects script?

i want to apply a transition between two video clips and the transition is a .aex file. i can apply ffx with "applyPreset". how can i apply it via script? or even an outside code? thanks!
1
vote
3answers
935 views

How to automatically save alternating layers and one set background layer

I have a Photoshop file with one standard background layer and about 50 other unique layers. I will be creating 50 files. The same background layer will always be used, but the top layer will change. ...
1
vote
1answer
58 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 ...
1
vote
0answers
39 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
66 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 ...
1
vote
1answer
47 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 ...