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

I can't get Photoshop CS6 startup script to works ?

Hi! I'm trying to get a script to execute each time photoshop cs6 is started. I've tried to put it in that folder ( Photoshop-CS6-Scripting-Guide.pdf page 10) C:\Program Files\Common...

View Article


How to rename a Ps-path

I need to rename a Photoshoppath (only one path in file but with different names) with Javascript, I cannot select a pathitem and then rename. There are only two pathnames in my files: Path1 and Pad 1,...

View Article


Get empty document size information?

Hi,  I need to identify the empty tif files(that is the file which have no data(empty document size)) using scripting. Kindly advise me how to get the information using scripting.  Thanks for looking...

View Article

Transform selection increase problem

Hi ALL, I am trying to apply transform on some selected objects 10 % increase, i could see the part are moved from the orginal place. If we try to do select the individual object this works fine.  Any...

View Article

Photoshop scripting, export to png?

I use the following code: function SavePNG(saveFile){  var opts = new ExportOptionsSaveForWeb();  opts.format = SaveDocumentType.PNG;  opts.PNGB = true;  opts.quality = 100;  pngFile = new...

View Article


Image may be NSFW.
Clik here to view.

I have a script that works on all the machines in my office except one can...

Most of the machines in my studio are running cs5.5 or cs6 but one machine is running 5.1 - we have been using this script on all the machines:  #target photoshopfunction main(){if(documents.length !=...

View Article

doc.resizeImage based on percentage? is this possible

Is there a way to use the "doc.resizeImage" function but resize based on percentage?   I've tried the follow but I get errors......

View Article

Scripting brush strokes on smart filter mask

Hi guys, I am a complete newbie to all this so forgive me if this is a stupid question. I am having problems when trying to record brush strokes on a smart filter mask using script listener. Is this...

View Article


How to "change" resolution from DPI to l/cm?

Hi Adobe community, right now I am transferring a huge and slow photoshop action to a javascript cause I needed some kind of dynamic variable an action couldn't offer. And on the other hand: a script...

View Article


Why don't my dialogs show up in Photoshop?

I'm running the examples from the ExtendScript Toolkit UI and the dialog examples don't do appear in photoshop.   I copied SnpCreateTreeView.jsx from the examples directory to my toolkit window and ran...

View Article

CS5: Macro for HDR toning.. Bug?

Hey, I got over 5000 picture files to add the "hdr effect" with hdr toning of Photoshop CS5. I recorded a macro where i do it with the "Surrealistic" - preset and also tried custom settings. But every...

View Article

Image may be NSFW.
Clik here to view.

[Help needed] Sample colour in each cell of a grid

Hi All, First of all, HAPPY OCEANS DAY!  Here is my problem: I have hundreds of maps of exactly the same size, for which I would need to extract the "value of the colour" in each cell of each map....

View Article

Image may be NSFW.
Clik here to view.

Copy image from clipboard to (several) x y coordinates using javascript loop

I have an image (551 px by 709 px) which is on the clipboard. I would like this image to appear in my active document (3307 px by 4677 px)  The x and y locations where I want the images to appear are:x...

View Article


Iterate over all document layers applescript

Hi,I have experience as programmer but not in applescript or photoshop scritpting,Basically I want to apply some actions to layers, but only to those layers that are named ending in '-changeMe' e.g (...

View Article

Image may be NSFW.
Clik here to view.

cs6 Exr saving issue.

Hey everyone, I'm trying to update a portion of my .jsx code that worked in CS5, and now doesn't work in CS6.. EXR format is now included in CS6, and handles the alpha channel differently, basically it...

View Article


Using .js scripts to launch Photoshop

Hi I'm kind of new to this Photoshops scripts fieldand would like to  write an external application (.NET based) that would be able to invoke  the Photoshop application and run Photoshop .js scripts on...

View Article

Artwork resizing

Hi All,  I have to resize around 600 artworks in different sizes with the following conditions  app.preferences.rulerUnits = Units.PICAS  Switch (case)}case 1 width <= 20  (No resize); breakcase 2...

View Article


Selection toggle

I need to create a script that will toggle between the layer's mask and the grayscale [or rgb] channel: essentially it will check to see which is currently selected, then select the opposite. How do...

View Article

Read metadata for a file without Photoshop or Bridge

Hi Suppose I have a file in desktop called "test.jpg". So I create this variable: var myFile = new File ("~/Desktop/test.jpg"); This file has some keywords and instructions I need to read. And if the...

View Article

Image may be NSFW.
Clik here to view.

DialogModes.ALL with "customEnvelopeWarp" with warp dialogue active. Possible?

I have manage to listener warp tool on a pixel layer. It's a huge ammount of code for customEnvelopeWarp, but in short words: 1. I want it o stop before applying Transform;2. All the vallues should be...

View Article
Browsing all 12244 articles
Browse latest View live


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