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 ArticleColor 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 ArticleRe: 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 ArticlePhotoshop 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleNew 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 ArticleRe: 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 ArticleSnap 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 ArticleHow 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 ArticleRe: 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 ArticleIs 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: Snap with scripting
Here is how you can toggle snapping app.runMenuItem(stringIDToTypeID('snap')); Not sure how you could determine the current state.
View ArticleRe: 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