Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Browsing all 27456 articles
Browse latest View live

Re: Is it possible to generate a text file with layer names, blend modes etc

This should be possible with script… The name and pixel dimensions should be in the metadata… I've been looking at file XMP recently to my knowledge PS layer info is not stored… Spotlight does list the...

View Article


Color Authoring

Hi, I tried using match color & replace color, how do i achieve the target color through scripting?for example: take any of two apparel images and start try color matching through scripting....

View Article


Re: TextItem.size is wrong after transform (CS 6)

Hi, This is urgent, Could any one suggest me to right path to achive my requirement. Regards,Vinoth

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

Re: Scale Photoshop layer using AppleScript

Hi Mark, My aim was to accomplish transferring the relative scale of a series of images in an InDesign layout to a master Photoshop layered file. The conversion subroutine was needed to get that...

View Article


Re: Photoshop javascript: Open files in all subfolders

Folder.getFiles() only works with one folder at a time. To get all the files in the folder as well as in subfolders you need to scan each subfolder. One way to do that is with a recursive function....

View Article

Re: Photoshop javascript: Open files in all subfolders

var traverseFolder = function(path){     // Create new folder object based on path string     var folder = new Folder(path);      // Get all files in the current folder     var files =...

View Article

Re: Scale Photoshop layer using AppleScript

Are we all going to have to abandon it for JavaScript? Well I couldn't answer that for you… I changed for the most part about 3 years back… and Im still very much learning it hence ( the muppet ) I put...

View Article


New to scripting. Need help with a >3000px-resize-but-

Hey, all. I'm new to this scripting thing. In fact, I didn't even know it existed until a few minutes ago when I started searching the googles for an answer to my resizing issues.  I have some...

View Article


Re: Photoshop javascript: Open files in all subfolders

Pascalculator wrote:... make sure to delete the comments in the for statement, since they cause the program to slow down unneccesarily.The comments will not effect the speed of the script as it runs....

View Article

Snap with scripting

Is it possible to switch the snap (VIew --> Snap) on and off using scripting? Something along the lines of  app.activeDocument.snap = true; Cheers

View Article

How to get the color, style, stroke size and alpha values of selected object?

Hi All, I am new to photoshop, I am facing problem regarding to get the fill color value, fill style, stroke color, stroke size and alpha value of the selected object in the photoshop using script. Is...

View Article

Re: New to scripting. Need help with a >3000px-resize-but-

This script will do what you want:// pref pixels app.preferences.rulerUnits = Units.PIXELS; // call the source document var srcDoc = app.activeDocument; // get original width and height var imageWidth...

View Article


Is there any event listener for changing the selection of layer?

Hi all, I am looking into an event listener which fires on changing the selection of layer. I found 'Select' event listener which fires on selecting the different object. Actually the problem with...

View Article

Re: Is there any event listener for changing the selection of layer?

When an event listener( notifier ) works with multiple classes and you want to limit it to one class you have to supply the eventClass. app.notifiers.add("slct", new...

View Article


Re: New to scripting. Need help with a >3000px-resize-but-

The menu item File - Automate - Fit Image... has an option not to enlarge. It will do what you want and can be recorded in an action.

View Article

Re: Photoshop javascript: Open files in all subfolders

Thank you Michael and Pascalculator for your explanations, I'm very grateful. I've struggled a little to integrate either into my script - I will close myself in a dark room later and work on it. I'll...

View Article


Re: Photoshop javascript: Open files in all subfolders

You could combine the code you posted with the code I posted like this: var topFolder = new Folder('~/desktop/test');var fileandfolderAr = scanSubFolders(topFolder,/\.(jpg|tif|psd|bmp|gif|png|)$/i);...

View Article

Re: Snap with scripting

Here is how you can toggle snapping app.runMenuItem(stringIDToTypeID('snap')); Not sure how you could determine the current state.

View Article

Re: How to get the color, style, stroke size and alpha values of selected...

Not sure what you are asking. What kind of object are you asking about?

View Article
Browsing all 27456 articles
Browse latest View live


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