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

Run code automatically after UI dialog window is drawn?

Is there is a way to automatically run a piece of code after the window is drawn.  Using window.onShow=function(){do stuff} event runs code before the window is drawn.  Is there a similar way to...

View Article


Script UI dialog button keyboard shortcuts not working..

Hello, I've tried adding keyboard shortcuts to the buttons in my dialogs using the following code at the end of each button:  .shortcutKey = "1";Like so: dlg.btnPnl.TieOutfit = dlg.btnPnl.add('button',...

View Article


psdom

I'm beginning in scripting using ps-dom.  What I want is to create a new document, that is 120x200, followed by adding another layer to the current document. The following code isn't working ? var...

View Article

History Brush Blending Mode

I remember some time ago following a thread on PS-Scripts.com about not been able to access and change the blending mode of the history brush through a script. Unfortunately, PS-Scripts.com is no...

View Article

Turning ScriptListener on and off

One the the things I hated about using ScriptListener was having to quit Photoshop, and either put the ScriptListener plugin in the plugins folder or change the name using the "~" to activate it. After...

View Article


Possible to create a script that opens files automatically and processes them?

I have a folder on my computer that automatically has image files downloaded to it periodically. I'd like to have a script in photoshop that can batch process them automatically and then move them out...

View Article

Creating a folder in Finder/Windows using a PS action

I need to build a folder hierarchy on the Desktop and place files in it using a Photoshop action. for instance: Master Folder Name- High Res-- HR_filename.jpg-- HR_filename.png- Low Res--...

View Article

Help: need a script to merge all layers, even if there is only one layer

I am trying to build an action that includes "merge all layers" or "merge visible layers". However when I record that throught the actions tool (usung the layers panel flyout dialog), if a file being...

View Article


batch odd dimension images to square

Hi I have lots of images that are all different sizes and more coming. I need to create an action that makes these images square in px dimensions, with the new side dim. the dim. of the longest side. I...

View Article


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

CC 2015 Font changing not working

Right now I am changing font by getting current font through app.activeDocument.activeLayer.textItem.fontI am not able to do so anymore after 2015 update because the font property isn't present when a...

View Article

Using PhotoShop Action/Scripts in command line

Hello everyone, I am working on a project that needs to run PhotoShop's script/action on a folder everyday. It needs to be done automatically without no user interaction.  Ideally, I would create a...

View Article

Help editing a script

Hi, Very nearly found a solution to this old problem I have. I've found a script that saves groups as PNGs and it's great but I need it to save to JPEGs instead. I also need to have an option to change...

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

Help with save as (tiff compression options) javascript

Hi can someone please help me alter this script from 'psd' to 'tiff'. I would like the script to specify particular compression options and I'm not sure how.      var saveFile = new...

View Article


Looking for a Script, or Action, or a Preset to divide 24 x 12 in PSD files...

I am looking for a script, or action, or a preset that I can use to divide 24 x 12 inch PSD files into two 12 x 12 JPG files that will save these jpg files into a folder for uploading to a book...

View Article

How can I iterate through a range of parameter/values within a filter (using...

Using ExtendScript, I am able to find out the names of the filters and their various parameters: var idAdNs = charIDToTypeID( "AdNs" );    var desc49 = new ActionDescriptor();    var idDstr =...

View Article


Script for deleting Hidden Layers which are not used in any Layer Comp?

Hello. I've turend the web upside down searching for a script that would do the following: Search through all the layer comps in the documentCheck which layers are hidden on all Layer CompsRemove/mark...

View Article

Help a noob with a script.

I have a number of layers (0,1, 2,..., N), that I need to be copied in a certain way.1 step) Copy Layers with index: N, N-1, ..., 2, 1, 0.2 step) Copy Layers with index: N-1, N-2, ..., 2, 1, 0.3 step)...

View Article

spreadsheet to text layer script?

Does anyone know of a script that will create a new photoshop file, copy a row of text from a spreadsheet, csv or delimited text from another doc, paste into a text layer, save and close, go to the...

View Article
Browsing all 12244 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>