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

Please Help "Copy to Clipboard" not recorded in Actions

Hi There When I try to Copy values on Canvas Size (e.g. value on Height Copied to Width or reverso so as Height = Width) then I want to repeat this "Copy" task to all remaining Opened Files using...

View Article


Weird layer-renaming issue.

On Win7, PS 19.0 I am encountering a strange issue with renaming layers. It boils down to these steps:start a fresh PSRename a layer manually works just fine.Run a layer-making scriptNow, renaming...

View Article


Actions/Scripts: Move layer to absolute position instead of translate

Hey all, Im trying to write a script which takes a layer and moves it to a x/y coordinate on the canvas rather than translates the object a certain amount of pixels. Ive created an action so far and...

View Article

Scripting Lens Correction to process millions of photos

We have several million "Fish-Eye" images that we need to flatten out and the new "Lens Correction" feature of Photoshop CS5 appears to work pretty well.  I was able to use the predefined File ->...

View Article

photoshop scripting output

Is there a console or log for output from script events?  I tried making a function, which executes an alert correctly, but doesn't create a new document.  I can't find any way to see if this syntax is...

View Article


How to record an action for healing brush/clone tool ?

Hi, most of you who know photoshop so well, know it's a fact it's impossible to record an healing brush or a stamp tool to apply. Also is knowns the patch tool is the only way to make theses kinds of...

View Article

List folders only one heirarchy lower than selected top level?

Directory structure Top level folder     ->Subs          ->subsubs How would I indicate not to search all subfolders, but only folders one level under the top level? Thanks! Not my code....

View Article

Show/Hide Selection Edges

HiI'm new in Adobe scripting. I hope i can find some help here I need a snippet can show/hide current layer selection ( not deselect ) which command trigger in "View> Show> Selection Edges" menu...

View Article


error on this line ...

Hello everyoneIn this script ExtendScript indicates an error but I can not understand which one.I am under CS6 on mac.If anyone sees or is the problem ... thanksJL function SaveJPEG(saveFile,...

View Article


how do I get the name of the action that was started from within my javascript?

Hello, I want to create an action called 'test1' and record it playing a script called 'generic.jsx'.I want the script to know that it was started by 'test1' and thus, do XYZ.I want to create another...

View Article

Replace text in text layers

I found a function from c.pfaffenbichler here on the forum, which will search/replace text. The script works great if you have a flat document, but as soon as you create a group the script won't work...

View Article

Colouring buttons

Via a button I n a dialog box, I invoke the colorPicker.  I want to have the button background recoloured to match the selected colour (a la the foreground/background colours tool icon in PS). Over on...

View Article

Check if the color sampler is present

I tried this solution but it does not workWhere am I doing wrong var doc = activeDocument;  try{     if (activeDocument.colorSamplers.length > 0)     {alert ("color sampler/s exist/s")};         }...

View Article


Image may be NSFW.
Clik here to view.

Abort the default Photoshop progress bar

Hello everyone! Is there any way to abort or hide this "standard progress bar" when exporting high-quality prints through scripts?I added a custom progress bar to my script that took too long but I...

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


Why do buttons in two panels have different corners

The following working code creates two 'identical' buttons in two separate panels in a single dialog box. The buttons in the upper panel are shown with rounded corners, those in the lower panel are...

View Article

Using mouse wheel to zoom and pan

I was wondering if there would be a way to make a javascript that would load at Photoshop's startup that would allow the user to zoom in and out using the mouse wheel (instead of using it for...

View Article


Data Sets in Photoshop Error

how to i fix this? Could not parse the file contents as a data set. There were too many variable names in the first line of the text file.

View Article

How to active ruler / grid with script?

Hello, i try to develop a plugin and the last issue i have to fix is to add a button witch can toggle the grid and the rulers.i have tried it with the ScriptListerner but the Code Result always break....

View Article

Searching Arrays - indexOf

I was trying to search an array, and on the web it says to use something like this: var tA = ['one','two'];$.writeln(tA.indexOf ('one')) However, when I try this, I get: tA.indexOf is not a function."...

View Article
Browsing all 12244 articles
Browse latest View live


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