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

Batch command not closing files automatically

Hi,  Photoshop CS6 Windows 7 How do you make Photoshop automatically save and close a batch of raw files during batch runs?  I'm just now trying the File>Automate>Batch command. I want to run an...

View Article


Bug with Liquify in CC 2014 - Actions/Scripts

I am trying to open the Liquify filter from either a script or action, but it only works if I first have a mesh. var idLqFy = charIDToTypeID( "LqFy" );executeAction( idLqFy, undefined, DialogModes.ALL...

View Article


artLayer selected event?

Hey guy, I'm just getting into CS Extention Builder, so still a bit of a n00b with this, and havn't been able to find anything about what I'm needing in the docs, forums or googling around. How can I...

View Article

Get the number of CountItems by group in CS5 extended

I have a collection of photos with count items created with the Count Tool in CS5 extended version. Each count item belongs to one of 5 count groups created with the Count Tool. Using the Photoshop...

View Article

Getting position of layers with transparent pixels

I need to calculate the exact position of all levels, but there are some errors in the levels where there are transparent pixels. Calculating the position in this way:                 width =...

View Article


Data Sets in Photoshop CS2

I'm trying to learn about scripting in Photoshop CS2. By starting, I just want to import variable data into Photoshop, following the help instructions, however am having heaps of issues.I'm using the...

View Article

How to set a group's children to visible with ActionManager?

Hi, so i need to set all the children of a group to visible (both layers an groups). I wrote this recursive function:  function setChildrenToVisible(group){  var numberOfChildren = group.layers.length;...

View Article

Changing text with Applescript changes font attributes

I've been working up a multistep Applescript (which I'm learning as I go) to change up a bunch of files in Photoshop CC. The last part involves changing the contents of an existing text layer (with...

View Article


A script for "Save for Web" as .jpg

I found a script that saves the current selected document in Photoshop as .png to the Desktop, and use it all the time. function main() {          // declare local variables          var doc =...

View Article


Script to Create Folders Using Photoshop Scripting Mac/Windows

Can anyone help me. I want to create a script to create folders and run the script in Photoshop. I am a real novice at scripting and I do not know if this can be done. Thanks

View Article

Need script to batch import images into PSD layer

Hi,I have a large group of identically sized Illustrator PDF images (I could convert these to jpeg and resize separately...). I need to import each of these into a specific part of another image, which...

View Article

How to get the style of a layer using photoshop scripting ??

As I know  there is a method  ApplyStyle(string)  which is uesd to apply the specified style to a layer. But I really don't know how to get the style name of a layer ? Anyone who knows? Please help me!...

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 can get and set x , y position of opend image ?

Hi, I used photoshop scripting in back end.I  am using javascript. Here i do following step for image adding in layer.1. Create main window for save psd file.2. Create new layer in this window i.e....

View Article

Export Layers To Files - Renaming Script PS CC

On all previous versions of Photoshop, including CS6 (before the recent update to PS CC), I was able to use the ExtendScript Toolkit to edit the PS preset script that adds naming/numbering sequences to...

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

CS6 png save options

I've got a major script I use that performs .png saving every few seconds, but apparently there are some new compression options in CS6.  Is there a way for me to have the script use the "Smallest /...

View Article


How to script photoshop using C# .net 3.5

According to this: http://www.pcpix.com/Photoshop/ And this: http://lonerobot.net/?p=374 Script photoshop from .net code is an option. But, in .net 3.5 I can't find any COM assembly with the name:...

View Article

Closing a document within Javascript.

I'm new here and new to javascripting in photoshop (though not new to javascript).I've been trying to figure out how to do the equivalent of either the "File>Close" or the "File>Close All" menu...

View Article

One-click 'Save as jpeg' shortcut script please! - saved in the same folder

Hi, I've been re-directed here because I was told a script could solve my problems - but I have no scripting experience/knowledge/ability! Below is my original problem and post. I got as close as 2...

View Article
Browsing all 12244 articles
Browse latest View live