Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Browsing all 12244 articles
Browse latest View live

how to convert pixels in mm ?

Hello everybody!I'm making a tool in which the user specifies the size of the frame, I want to give him the opportunity to choose between units of measurement. How do I convert one unit to another?...

View Article


Saving files with layer name

Hi I have a PS file I need to version out to 7 versions of about 45 variations. I have all the layers and groups named so it makes sense and it occurs to me that the correct name for the outputted...

View Article


Populating an HTML panel from folders

Hi, similarly to Chris_G_1975 a few posts down, I'm trying to populate my HTML panel with buttons, but in my case I'm trying to use the folder structure for the panel.My problem is mainly with being...

View Article

Layer Comps To Files - Export error: Could not complete this operation. There...

I have been using the Export Layer Comps To Files scrips that ships with Adobe Photoshop CS5 for a while and found it very useful, apart from the numbers it automatically adds as a prefix to the...

View Article

Problem with TextItem.font property

Hi, In the following PSD there are two font layers.FontProblem.psd - Google Drive The following works correctly on the first font layer,...

View Article


Conditional Image Resizing

Hi Ive been using batch processing in photoshop since version 7, however Ive recently found the need to do conditional actions - which apparently can be done with photoshop scripting. What Im trying to...

View Article

Scripting Equivalent Of Cntl-Click Layer Thumbail

Subject kind of says it all, but I'm looking for the scripting equivalent call for control-clicking the layer thumbnail, where it selects all pixels on that layer. Any thoughts?

View Article

Uncaught TypeError: Converting circular structure to JSON --- JSON.Stringify...

Hi, I'm having problems trying to pass a variable from an HTML panel using JS to an Extendscript function, I can pass a string no problem but when I try and pass an object in using JSON.Stringify I get...

View Article


Find and replace text in multiple Photoshop files?

Hi there, Let us say I have six Photoshop files: 1.psd, 2.psd, ..., 6.psd. All of these files contain the word “LoremIpsum” in random text layers, within each document. Is there a way I can search for...

View Article


Open a file in finder with script

I am having instructions for actions in pdf-files. Trying to make a script that opens a specific folder in OSX Finder (/Application/Adobe Photoshop CS6/Instructions/FileNameHere). Is this possible. One...

View Article

Convert to Profile: Scripting Issue

Hi, So my issue is that I'm trying to script a change from one profile to another.  Here is a snippet: app.activeDocument.convertProfile("6C ColorBurst - KonaUltra225-20150819.icm" ,...

View Article

Move files from one folder to another javascript?

I am running a 3-action droplet automatically using windows task scheduler.  Here are the 3 steps:1.    Batch file to move files from hot folder to processing folder2.    Run IPP (dr brown's image...

View Article

Layer Comps to JPG Save for Web

Hello everyone, I'm using the "Layer comp to files" script a lot to send some designs to clients. And sometimes I need to send a lot of JPGs at once, wich are created with "Layer comps to files", but...

View Article


Scaling text bound through photoshop scripting

Hi, I am trying to scale the text bounding box along with the text inside. I want to achieve the same effect as select the text box by double clicking on text->press cntrl->then resize the...

View Article

get color mode

How to get the color mode and used font information using java sc

View Article


Is it possible to script brush opacity?

I would like to script the current brush's opacity to 20%. Have done a lot of googling but cant find a clear answer. Is this possible? On a Mac with Photoshop CS6

View Article

Edittext and onChanging event

Hi friends I´m creating a dialog and one of the fields in this dialog should accept only numbers. So I thought I could use a combination of Regex and onChanging function with the edittex. Here´s the...

View Article


Script to collapse a group

My script runs though a bunch of groups and accesses a layer inside of each. When it does this, it opens the group folder, so when the run is complete, all the groups are open. There are a lot of...

View Article

How Do I Write A Script Resizing A Layer To Canvas & Keeping The Aspect Ratio

Hello Everybody I'm looking for a script that would resize a layer to fit a canvas of 34cm wide by 40cm high, but that would also take into account the aspect ratio of the layer so it doesn't warp the...

View Article

hiding a plugin

Hello, I have a script and a plugin. I run the plugin from the script, because it doesn't work well without this. Is there a way to make the plugin there, but invisible or disabled to the user ? Thanks

View Article
Browsing all 12244 articles
Browse latest View live