Questions tagged [script]
Small programs automating certain tasks. For questions about script typefaces, use the script-typeface tag.
164
questions
4
votes
3
answers
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 ...
0
votes
1
answer
1k
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
2
answers
497
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
0
answers
438
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
1
answer
4k
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
1
answer
1k
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
3
answers
2k
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
1
answer
541
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 ...
0
votes
1
answer
1k
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
1
answer
2k
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
1
answer
446
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 ...
4
votes
1
answer
846
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
2
answers
6k
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
1
answer
2k
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
0
answers
262
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
2
answers
791
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
1
answer
2k
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
1
answer
785
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 (...
1
vote
0
answers
698
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 ...
3
votes
1
answer
2k
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
3
answers
13k
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 ...
1
vote
5
answers
2k
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 ...
4
votes
3
answers
1k
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) ...
4
votes
1
answer
2k
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 ...
5
votes
2
answers
2k
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'...
1
vote
1
answer
80
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
3
answers
3k
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 ...
0
votes
1
answer
1k
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
2
answers
1k
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) ...
4
votes
2
answers
912
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 ...
1
vote
0
answers
228
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
votes
1
answer
79
views
what is this font? The name does not match [closed]
So the font is supposed to be "Dancing Script" but it doesn't match it in the least. Does anyone have an idea?
2
votes
0
answers
2k
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 ...
3
votes
2
answers
2k
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 ...
2
votes
0
answers
219
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
1
answer
842
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 ...
2
votes
1
answer
380
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 ...
0
votes
2
answers
582
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 ...
-1
votes
1
answer
72
views
Simple Indesign cc script (I hope)
I keep having to do the same ting over and over. I get a text file with a 2-line header and the there is one list of names. I need to keep the header full width of the page and then have the two ...
0
votes
1
answer
2k
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 ...
3
votes
1
answer
425
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 ...
8
votes
3
answers
4k
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 ...
-1
votes
1
answer
68
views
Add a conditional line to existing script
I've got this script from an earlier question and answer (specific resize layer action) Many thanks to SQW!
(function (){
var startRulerUnits = app.preferences.rulerUnits;
app.preferences....
3
votes
1
answer
666
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 ...
5
votes
1
answer
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.
2
votes
2
answers
244
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
1
answer
18k
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 ...
0
votes
3
answers
9k
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 ...
-1
votes
1
answer
1k
views
Script to remove Yellow(or any color) from layers panel? [closed]
I am looking for help solving the issue of Adobe Illustrator automatically assigning a color to a layer every time one creates a new one. I am aware that...
This is part of the core code of Adobe ...
1
vote
1
answer
428
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 ...