We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [script]

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

30 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
894 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
414 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
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
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
250 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
188 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
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
36 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
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
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
31 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
37 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
88 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
59 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
18 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
46 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
36 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
29 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
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
1answer
127 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
255 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 ...
-1
votes
1answer
62 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 ...
-1
votes
1answer
56 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....
-1
votes
1answer
172 views

Alpha for each layer

How can I set a script that applies an alpha channel for each layer in the PSD file? An action makes it for one layer only. I`d like to have an ability to automate it for a bunch of layers.