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

File copying and getting file contents

So I am trying to get the file contents and send them via socket.write().I am not entirely sure, if I'm doing this right, but  I was trying this: var file = new File( "D:\\test.png" ); var file2 = new...

View Article


Script combining menu command with options bar option?

Would like to call the Transform:Scale command AND activate the "Maintain aspect ratio" option from the options bar. Any idea? thx.

View Article


Scripting a JPEG 'Save As'

I'm doing some work for my company and I need to do what  is essentially stop-motion animation... I have my base .psd file, I move a layer  in it slightly, save it as a .jpeg, and repeat. And repeat,...

View Article

How to use the js in the case of not sure the file name into multiple files...

function place($path){    var idPlc = charIDToTypeID( "Plc " );    var desc28 = new ActionDescriptor();    var idnull = charIDToTypeID( "null" );    desc28.putPath( idnull, new File( $path ) );    var...

View Article

Get layer by index

I am writing the selected layers indexes into an selectedLayers array. Then I am using this:  function getLayerNameByIndex(idx) {  var ref = new ActionReference();  ref.putProperty(...

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

Calling Generator Plugins from ExtendScript

Hi,I hope you can help me out as I'm at the end of my tether!I'm working through the documentation on the Generators Github page, and am having difficulty getting the example for Calling Generator...

View Article

PS Batch/Droplet serial number not incrementing?

@Hello I'm hoping someone can provide a solution.I'm trying to make a batch that ill then convert to a droplet so I can then use a watch folder to run the droplet. (Automate as much as possible, as I...

View Article


Export layers to file script error in Photoshop CC

I need help with an issue.  I also asked this in the general forum but was refered here to ask all of you amazingly talented scripting geniuses.  My issue is with the Export Layers script that comes...

View Article


How to insert EXIF date time data on photo using Photoshop CS5.5

Is there any script or function available in photoshop CS5.5 which can help me in inserting date time from EXIF onto the photograph.An automated solution which can do multiple images at once will be...

View Article

How to get bounds of bounding box of text item.

Hi all, I am trying to get the bounds of bounding box of paragraph text item. I found the following link,the coordinate of a bounding box is the same as the layer's coordinate?But the solution doesn't...

View Article

Artlayers unique ID... (CS5)

Hi, I want export layers names with unique ids to external file.I search a lot in documentation and also on Internet and I didnt find anything about unique ids of layers in photoshop. Each created...

View Article

how can i use a script to automate a plugin to apply to every frame in a video?

i am using topaz plugins and they seem to crash when i use them on a smart object, i'd like to apply a filter to every frame in a video.

View Article


COM Reference in CS5 Missing

Does any body know what happened to the COM reference in visual studio 2008 for photoshop CS5, i just installed and my CS4 COM vanished and now there is no COM reference for photoshop CS5.

View Article

Auto crop each layer before exporting layers to files

The built in "Export layers to files" script doesn't crop the exported jpeg to the size of the image on each layer.  Instead, it keeps the original photoshop file size and puts white around that...

View Article


Place images to a specific spot in a template

I am trying to create an action that will drop images into a specific spot in another document and save it with a certain file name. After the first image is dropped in and saved, I want my next image...

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


Get vector points out of shape layer

Hi, I need to write a script which (also) saves the vector paths given as/in shape layers (Photoshop).What the script should provide is: 1. Loop over all Layers2. Look if there is a boundary shape...

View Article

How to use PS to judge the existence of a folder in the specified directory...

1,How to use PS to judge the existence of a folder in the specified directory?(use javascript)2, how to use PS in the specified directory to create to create the folder?(use javascript)Thanks you!

View Article

Script for conditional action in photoshop CS6

I am using Photoshop CS6. I want to use conditional actions feature which is available in photoshop cc. Can you tell me the way how is such conditional action possible in CS6 through scripts??

View Article
Browsing all 12244 articles
Browse latest View live


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