Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Browsing all 27456 articles
Browse latest View live

Re: Duplicate Layers to new composition? Weird problem with duplicate() command.

Oh I see.Perhaps I should Deselect everything and use getSelected to select, dupe and deselect in a for loop?

View Article


Re: Duplicate Layers to new composition? Weird problem with duplicate() command.

I think if you add the line app.runMenuItem(stringIDToTypeID('selectNoLayers')); just after  var theLayers = GetSelectedLayers(); the script will do what you want.

View Article


Re: Duplicate Layers to new composition? Weird problem with duplicate() command.

That works great!Thank you!

View Article

Need help with creating Action Set and Action

Hi, I'd like to create an Action Set and Action via script, and then rename them. Has anyone of you done it before and could share with me?Can it be done via script?  The ScriptListener doesn't log...

View Article

Checking if layer has smart filters

Hi, I'm just starting out with scripting photoshop and what I'm trying to achieve right now is to write a script that iterates over all the layers and turns off smart filters if they have them. I...

View Article


Image may be NSFW.
Clik here to view.

How to activate record and stop for actions?

Hi, Apart from my previous post, I'd also like to ask if any one can help on activating the record (red button) and stop via script? Can this be done? Help is very much appreciated.  

View Article

Re: Script and Trial Period

Yes, you can add a function that checks the current time and it it exceeds a set time it will bypass the script.  The only issue with this is that the scripts can't store the time the trial started, so...

View Article

Re: Checking if layer has smart filters

function hasSmartFilter(){    var res = false;    var ref = new ActionReference();    ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );     var desc =...

View Article


Save for web export crashing photoshop

HI In was wondering if anyone could help me.  I have written a code that edits images but i am having trouble with the save for web export everytime it gets to saving it photoshop just crashes. I have...

View Article


Re: Save for web export crashing photoshop

You need to pass a full file path to the export command… Probably need to change the extension too. setmyFullFilePathto (path todesktopas text) & docName exportinfilemyFullFilePathassave for...

View Article

Re: Need help with creating Action Set and Action

As far as I know you can not create a new action or action set from a script. You can use app.load() to load an atn file.

View Article

Re: How to activate record and stop for actions?

My bet is it can not be done with either a script or another action.

View Article

Re: Script and Trial Period

Similar questions about securing a script come up from time to time. I have never seen anyone post a solution that could not be broken with very little effort.

View Article


Re: I need js global vars in PS-64bit CS6, but they aren't staying in memory.

Cool recipe.  I had to look up what {} meant, but now I have a whole new way to attack javascript problems. Thanks for your help.

View Article

Canvas based on specfic ratio aspect

Hi all, I have a lot of images in different sizes. These images need to be canvased based on width 400px and height 300px. Please not that I don't want to resize the images (they can be of any size),...

View Article


Re: Canvas based on specfic ratio aspect

If any image is larger then 400px by 300 px they must be resampled down in size or they would get cropped to 400x300px. It is very easy to resize images larger the 400x300 and leave smaller image as...

View Article

Re: Script and Trial Period

I think perhaps it could be done if you required an Internet connection during the trial period.  The script could retrieve the trial start time from the script writers web server. If its not found it...

View Article


Re: Photoshop Action - Multiple Save As

I would suggest that you download the Image Processor Pro plug-in script from Russell Browns web site. Once installed you will find it under menu File>Automate>Image Processor pro.   This script...

View Article

Generating an alpha channel for document

Hi.I'm trying to generate an alpha channel based on the transparency of all the layers in the document.I usually do this manually by going into Image->Calculations, selecting Transparency in the...

View Article

Batch-action for 2 images in a set

Hi, I created a nice action which helps me to work on 2 (currently loaded) images in combination. Now I would need support on how to apply this existing and successful action in a AUTOMATE/BATCH...

View Article
Browsing all 27456 articles
Browse latest View live


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