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

Creating new metadata example in Javascript Tool Guide

I'm working my way through the example but when I run the following code: // load the libraryif (ExternalObject.AdobeXMPScript == undefined) {     ExternalObject.AdobeXMPScript = new...

View Article


Is it possible to get a preview for a filter?

I mean a little preview image, not a live changing of the canvas. Something similar to what some filter windows have, such as wave. I have a script that lets users apply a couple filters, and it would...

View Article


Script to copy Layer/Group to another Open Document?

Hi, I know this topic has been covered many times before. But to clarify, here's what I'm wondering: Copy the active layer/group to another open document in Photoshop. The simple way is to go to...

View Article

script flow control

I am trying to figure out the logic to implement a save folder dialog into a Bridge batch processing script.I posted a similar question in the bridge forum complicated question: dialog box-batch...

View Article

Is there any way to apply a box blur filter?

There seems to be methods to perform almost all filters, like applyGaussianBlur, applyTwirl. But there doesn't seem to be one for box blur. Is there any other way to perform this filter?...

View Article


abort IPP session

xbytor,Is there a graceful technique to abort an IPP session?Lets say for instance the IPP recipe is incorrect. IPP is running processing 100 files.Can the IPP be halted with out force quitting PSCC...

View Article

Is there a simple way to convert bit depth to 16 bit?

It seems there are PDF/BITMAP specific methods to convert to 8 bit depth, but I can't find any documentation to do this easily to the file as a whole. Is there a way to do this? I want to convert from...

View Article

Photoshop 2014.2 bug with duplicating layers in different doc

Encountered an issue with Photoshop 2014.2 that occurs when I try to use some_basic_bitmap_layer.duplicate(some_layer_in_different_doc, ElementPlacement.PLACEAFTER). So this is code that has been...

View Article


Batch Crop & Straighten

A while ago a good chap helped me out by creating a script that prompted the user for a folder, then ran the Crop and Straighten Photos command on all images contained in the folder and saved the newly...

View Article


Rename Layers: Find and Replace style renaming

In Illustrator, you can use the following to find and replace layer names: var doc = app.activeDocument;  // name indexed object  var layernames = {  'Bob':'Bob Front'};  // loop through all layers...

View Article

Did CC 2014.2 break textItem.size?

Scripts that worked before the update are now broken, and text layers created via script are all 12px. See this simple script:  var docRef = activeDocument; var TextLabel = docRef.artLayers.add();...

View Article

How to get the blend options of a layer?

Hi, I try to retrieve the blend options of a layer, but I cannot figure out how to retrieve them. I can get the layer effects but cannot find any reference how to extract the blend options. I tried the...

View Article

Layers getByName() issue?

I'm using CS4 and I'm curious about a particular issue I'm having when I use getByName() to return a layer. It works fine unless the named layer is in a group. Using the following simple code it runs...

View Article


Error 8800 save as jpg

Hi everybody!I'm getting Error 8800 when saving certain PSDs out as a JPG. The error says Error 8800. General Photoshop error occured <No additional information available>Line:18->...

View Article

Photoshop (CS4)-Saving out layers & names?

I was wondering if someone can help me out.  I am trying create an action-script and can't seem to make it happen.  Specifically, I have a Photoshop file with five layers. Each layer having it's own...

View Article


Crop & Straighten Automatic Script

Hi, I have a couple of photos of the sun (700 to be exact) that I'm trying to crop. Doing it manually on each one would be very tedious and so I found the automatic script of Crop &amp; Straighten....

View Article

Photoshop CS6 using javaScript to truncate alpha channel name

Hello, I'm a production artist and I work with PSD files that were created in Adobe Scene7 Image Authoring Tool. These PSDs contain a background layer along with 1-20 alpha channels. My script has to...

View Article


Change the default name Alpha 1 via script

The code line below saves the selection as Alpha 1.Is it possible to add a custom name to the selection? app.activeDocument.selection.store(app.activeDocument.channels.add())

View Article

How batch export layers to files png in cc

I am having trouble with an export layers to files script i am wanting to batch export layer to png and this script i have seems to be the one i want although every time i run the script i get this...

View Article

ESTK: 'select including brace' doesnt't work

On Adobe ExtendScript Toolkit when I want to select all the code inside a brace, I have 2 options that just don't work.  - select to brace - select including brace  this makes me and any script work a...

View Article
Browsing all 12244 articles
Browse latest View live


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