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
3answers
3k 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
34k 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
4k 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.
5
votes
1answer
130 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
749 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
1k 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 ...
4
votes
1answer
1k 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
1answer
219 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?
3
votes
3answers
2k 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
346 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
1k 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
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
332 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
1answer
146 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
592 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
875 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
430 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
212 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
2answers
7k 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
1answer
16k 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
3answers
88 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

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
2k 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
2answers
4k 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
300 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
4answers
5k 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 ...
2
votes
1answer
204 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 ...
2
votes
1answer
287 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
346 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
474 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?
2
votes
1answer
648 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
62 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
318 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
214 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
201 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 ...
1
vote
4answers
1k 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
2k 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
221 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
737 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
1k 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 ( ...
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
1answer
132 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
160 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
355 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 ...
1
vote
1answer
307 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
59 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
98 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
98 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
304 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!