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

How to display dialog in center of application?

Hi there, How do I place a dialog at the center of the application?(I am using javascript to create this script) Thanks in advance!

View Article


How to check if any document is open?

Hi there, How do I check if any document is open in Photoshop? Through Photoshop Script Thanks

View Article


How to call the photoshop action file?

I need to know how to call the photoshop action file(*.atn) through javascript. Kindly advice me.

View Article

script to crop (no delete pixel) snap to ruler guide

Hi everyone,I manually make 1 ruler guide and automatically create 3 ruler guides. These 4 ruler guide form a rectangular.Could I have a script that crop my image (no delete pixel) to fit that...

View Article

How to pause a script then resume?

Hello all, Is there any way I can pause the running of a Photoshop script, do some manual actions, then continue with the running of the script (when I press a key or hit OK in some sort of dialogue)....

View Article


Using PhotoShop Action/Scripts in command line

Hello everyone, I am working on a project that needs to run PhotoShop's script/action on a folder everyday. It needs to be done automatically without no user interaction.  Ideally, I would create a...

View Article

How To Exit A Script?

Hello.I'm trying to write a script (My First) for Photoshop.I want to check a condition and if it's true to exit the script.The problem I can't find any place writing what is the "Exit" command in a...

View Article

Photoshop document save on Mac throws Error : The document has not yet been...

Hi,I have a very simple script that would save the changes in a PS document. The script is as practically as mentioned below :if(app && app.activeDocument) {     app.activeDocument.save();}...

View Article


Script progression caught on Layer Group Parent

I have this code to progress down a doc and offset - it gets caught on Group Folders - the LayerSet Parent Node. Anyone have an idea how to rephrase this - to get it to progress past the layer group...

View Article


How to save input values in a dialog?

Hi there, I've got the following dialog with an EditText in it:  var win, form;   form = "dialog {  \     orientation: 'column', \     alignChildren: ['fill','top'], \     preferredSize: [305, 300], \...

View Article

A script for "Save for Web" as .jpg

I found a script that saves the current selected document in Photoshop as .png to the Desktop, and use it all the time. function main() {          // declare local variables          var doc =...

View Article

Photoshop javascript: Open files in all subfolders

Hi guys I'm very new to javascript, and general Photoshop scripting. My script is coming on well, but I struggle working with files and folders. It's a lack of basic javascript knowledge, which I need...

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


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

How to get the Pattern ID of pattern in pat file

Hi, I want a set of actions to be executed to an image. One of the action is to apply a pattern. I created a action in the hope that the new pattern can be selected before running the action. But the...

View Article


Layer comps to files - add a suffix instead of prefix?

Hi, I'm trying to change the script so that I can input a suffix that will be the same for all the files the script is gonna save. Basically the same thing that the prefix dialog box does but I want...

View Article

WorkSpace Saver ?

Does a "workspace" saver (aka Session Manager) exist for Photoshop CS5+ ? This is something I could use, as I tend to work with multiple images at the same time and when I can declaire one image as...

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

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

Image may be NSFW.
Clik here to view.

Bug in layer resize.

I reported a bug today I feel could do some nasty thing to document when you use resize() to re-size a layer. Particularly if you have used suspend history.  It looks like resize for some unknown...

View Article
Browsing all 12244 articles
Browse latest View live


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