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

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


Simulate a key press (Javascript)

I'm wondering if it's possible to make the program press a specific key (in my case - the escape key which has the key code 27 afaik)?I'm not going to use this to enter text into a field - but only to...

View Article


Cannot complete command because the extension could not be loaded.

Hello. I'm trying to make a simple HTML5 base panel (just empty, with a simple click) for Photoshop. But I have a problem I can not solve.  I do everything according to the article...

View Article

Open all files in folder using Javascript

Let's say I want to open all the files in a particular folder, without knowing the names of those files. Any ideas? Thanks!

View Article

Error 8800: General Photoshop error occurred....

Hi, i need some help with this error: Error 8800: General Photoshop error occurred. This functionality may not be available in this version of Photoshop.-The command "Paste" is not currently...

View Article


How do you remove the number sequence when exporting layer comps to files?...

Hi I remember in CS5 there was a script you could change, but I can't remember what it was called or where it was saved.  Can anyone help please? I would like to stop Photoshop automatically adding a...

View Article

Import Excel table into Photoshop

I would like to be able to import fields from Excel into Photoshop CS4 and have the Excel information print directly onto the photo image as a line of text across the bottom and layered over the image...

View Article

Batch replace smart objects

Hello, I have very minimal scripting knowledge, and every script I've found for this workflow is partial or results in "undefined".  I am on a mac running Photoshop CC (latest update). This is what I...

View Article


batch odd dimension images to square

Hi I have lots of images that are all different sizes and more coming. I need to create an action that makes these images square in px dimensions, with the new side dim. the dim. of the longest side. I...

View Article


AppleScript 'current document' seems to be broken in Photoshop CC

I'm using AppleScript to control Photoshop's web export, on a Mac running OS X 10.8.4. Essentially, I want to open a document and resave it using the Web Export options. The following script snippet...

View Article

Layer comps ID and name

Hello all,  I'm facing unusual problem currently. In CC 2014 it's now possible to switch right in main document layer comps of placed files (smart objects or linked). Properties panel shows layer comp...

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

Creating .ACB (Color Book) file from .ACO (swatches) file

Is there a way to convert a .aco file to a .acb file? I really need my colors to be visible in the Color Libraries section of Photoshop to use with Color Layers.The .acb files are the files located in...

View Article


Script to Create Folders Using Photoshop Scripting Mac/Windows

Can anyone help me. I want to create a script to create folders and run the script in Photoshop. I am a real novice at scripting and I do not know if this can be done. Thanks

View Article

Image may be NSFW.
Clik here to view.

Is there a way to change the Layer Color Tag via Script?

I tried to use the Script Listener to find the Event to change the Layer Color Tag but there were no commands recorded to my desktop. I have scoured the forums and the depths of Goooooo....ooogle and...

View Article


Replace document name

How could I replace a open document name with a new name?  I have a script that creates the new name but I can't figure out how to send the new name back to photoshop replacing the open document name....

View Article

what’s the notifier for starting the application

Recently I’ve been accidentally made aware of how to use notifiers in a thread in this Forum and a Feature Request-post seemed to provide a good example for using it. The poster there was dissatisfied...

View Article


Can I translate a layer in fractions of a pixel?

I'm using a script to iron out slight variations of camera position in a sequence of time-lapse images (the camera movement is caused by daily expansion and contraction of the timber wall that the DSLR...

View Article

How do create a script that chooses a random swatch?

My idea is...instead of using math to create a random rgb number I want to choose specific color by hex or rgb and assign them a number 1-10 then use random() to choose a random number between 1-10 to...

View Article

Create a script to save multiple groups into seperate png files

Hello, I want to use a script to save every group I made into a '.PNG. I'm visualizing something like this, but the outputformat/name doesn't matter, as long it is a output from a group: group1 ->...

View Article
Browsing all 12244 articles
Browse latest View live


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