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

Re: Removing number sequence in 'Export layers to files" in CS5

Hello everyone, Anyone know why this script we're talking about replaces the layername's " " (spaces) with "-" when its exported to files ?I was looking into the script but i can't find any part of the...

View Article


Re: Removing number sequence in 'Export layers to files" in CS5

At a guess I would say that you are saving the files in the png format as that script uses SaveForWeb to export png8 or png24 files. All other formats are saved using the normal document.saveAs method....

View Article


Re: Export layers to file script error in Photoshop CC

Hi,can you try with "Tabbed view" preference on?It was a problem with scripting back in some CS6 versions, but should be fixed in CC. Davide

View Article

Auto close - alert box

Hi, How to create setTimeout function to auto close an alert box ?How to make delay a script for some time before proceedings? thanks in advance,rajiv.s

View Article

Not able to use the Documento.selection.select() function

Hi friends I want to make a selection that takes more or less 1/7 of the height of the active document (see the attached image, the white portion is the simulation of the region). So I thought I could...

View Article


Re: Not able to use the Documento.selection.select() function

Yes, the guide is a little unclear. The argument is an array of four coordinates. Each coordinate is itself an array. So it is expecting an array of arrays. app.preferences.rulerUnits = Units.PIXELS;...

View Article

Re: Not able to use the Documento.selection.select() function

Hi Michael Thank you very much for the reply. So the guide is wrong in the information. It says it´s an array of numbers, and the correct should be an array of arrays. Your parameter worked. At true...

View Article

Re: Not able to use the Documento.selection.select() function

Ah, I think I´ve understand Michael See if it´s correct: the first position is a "x" and second position is an "y" coordinate of ruler. So, to get the selection I want I can use: doc.selection.select...

View Article


Re: Removing number sequence in 'Export layers to files" in CS5

Ahh thank you.. That is helpful.. Will try it asapThanks

View Article


Script to cycle through action sets.

Is there a way to cycle through Actions sets?  Imagine multiple action sets - each action set's first action [is one that is bound to the F2 key and] points to a script that says "go to the next action...

View Article

Script - create .jpg - using various (visible) layers

Hello I have trubble creating a script for Photoshop CS 5.I have got a .PSD document with several layers, some of which are visible, some are invisible.I want the script to make the selected layer...

View Article

Re: Export layers to file script error in Photoshop CC

Hi Davide!  Open Documents was checked already so, i tried with it unchecked and the error message I get now is a bit different.   Error 1: Unable to create Window - server interface error 'No...

View Article

Re: Export layers to file script error in Photoshop CC

I'm afraid no ideas...These kind of errors appeared to me too (Mac, CS5/CS6). If memory doesn't fail me - and there were tricks to be applied in your own scripts to workaround the problem - the issue...

View Article


Re: Export layers to file script error in Photoshop CC

From the error messages I don't think this is a document focus problem. I think it has more to do ScriptUI errors. Both 'Export Layers to files' and 'Image Processor' work as expected for me using...

View Article

Re: Script to cycle through action sets.

I have never found a way for a script to select an actionSet or action so I don't think the "go to the next action set" part can be scripted.

View Article


Re: Script - create .jpg - using various (visible) layers

I don't think it's because you have CS5. Scripts that work with layers like this can be slow. Sometimes very slow Depending on the number of layer in the document and the document size. Exporting the...

View Article

Re: Auto close - alert box

Alert, prompt, and dialog windows are modal in Photoshop. That means the script stops until the user closes the dialog. So a javascript can not auto close an alert window. The normal way to create a...

View Article


Re: Save As in Parent Directory

var CurrentFolder = activeDocument.path;var parentFolder = decodeURI(activeDocument.path.parent);$.writeln(parentFolder); BMPFile = new File(parentFolder, activeDocument.name)BMPsaveOptions = new...

View Article

Re: Save As in Parent Directory

You are creating the file object incorrectly. var BMPFile = new File(parentFolder+'/'+activeDocument.name);

View Article

Re: Save As in Parent Directory

Note: if the document was opened from a file( not a newly created document ) then activeDocument.name will already have an extension. Unless you remove the existing extension you may end up with a...

View Article
Browsing all 27456 articles
Browse latest View live


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