Search found 29 matches

by Stephen_A_Marsh
Mon Dec 06, 2021 11:07 am
Forum: Help Me
Topic: Differentiate between RGB and RGB Grayscale
Replies: 3
Views: 2993

Re: Differentiate between RGB and RGB Grayscale

The colour RGB images would have very different channel content: R, G, B. The greyscale RGB images would (should) have the same channel content: R = G = B. Comparing the histogram content for each channel would be one possible solution, however it sounds like this is not a perfectly desaturated imag...
by Stephen_A_Marsh
Mon Dec 06, 2021 9:12 am
Forum: Help Me
Topic: Is it possible? Rename Layers to Blending Mode
Replies: 10
Views: 6848

Re: Is it possible? Rename Layers to Blending Mode

An old topic, lots of good stuff for a intermediate-beginner to practice and learn! The following code is only for the active layer, I'll post code to process all layers once I am happy. EDIT: Of course, the question of what happens if a layer blend mode changes after the layer has been renamed is h...
by Stephen_A_Marsh
Sat Jan 30, 2021 11:55 am
Forum: Help Me
Topic: Photoshop script - scale images up to guides
Replies: 1
Views: 2933

Re: Photoshop script - scale images up to guides

Try this script to start: // https://forums.adobe.com/message/8732179#8732179 // https://forums.adobe.com/message/8728770#8728770 // 2019 - Uncomment line 123 to enable the layer mask, which has been disabled to retain the proportions of the resized layer // FitImageToGuides.jsx /* =================...
by Stephen_A_Marsh
Sat Jan 30, 2021 10:11 am
Forum: Help Me
Topic: Basic Script Help
Replies: 1
Views: 1929

Re: Basic Script Help

if your action achieves 90% of what you require, then you could simplify things by just scripting only the steps that can't be achieved in the action, then record them into the action. Then run the action via Image Processor Pro.
by Stephen_A_Marsh
Sat Dec 19, 2020 12:26 pm
Forum: Photoshop Scripting: Code Snippets
Topic: Select tool list
Replies: 7
Views: 16290

Re: Select tool list

I have just created an updated list for CC2021, please let me know if there are any errors or omissions... //selectTool('moveTool'); //selectTool('artboardTool’); //selectTool('marqueeRectTool'); //selectTool('marqueeEllipTool'); //selectTool('marqueeSingleRowTool'); //selectTool('marqueeSingleColum...
by Stephen_A_Marsh
Fri Oct 04, 2019 11:44 pm
Forum: Help Me
Topic: Getting EXIF field "OriginalRawFileName"?
Replies: 9
Views: 7827

Re: Getting EXIF field "OriginalRawFileName"?

The GUI can often be misleading, much better to use File Info > Raw Data
by Stephen_A_Marsh
Thu Oct 03, 2019 11:19 am
Forum: Help Me
Topic: Getting EXIF field "OriginalRawFileName"?
Replies: 9
Views: 7827

Re: Getting EXIF field "OriginalRawFileName"?

Full credit to SuperMerlin for providing 99% of the script, I just changed over the namespace and property: #target photoshop; //estk.aenhancers.com/10%20-%20Scripting%20Access%20to%20XMP%20Metadata/accessing-the-xmp-scripting-api.html //forums.adobe.com/message/10315559#10315559 //Help with script ...
by Stephen_A_Marsh
Sun Aug 04, 2019 1:10 pm
Forum: Help Me
Topic: Adjust exposure of an ArtLayer
Replies: 1
Views: 7910

Re: Adjust exposure of an ArtLayer

To create a new Exposure adjustment layer: // Script Listener recording processed via Clean SL // Example: Exposure: 1, Offset: 0.25, Gamma Correction: 0.5 make(1, 0.25, 0.5); function make(exposure, offset, gammaCorrection) { var c2t = function (s) { return app.charIDToTypeID(s); }; var s2t = funct...
by Stephen_A_Marsh
Sun Aug 04, 2019 12:48 pm
Forum: Help Me
Topic: Statistics.jsx
Replies: 1
Views: 2645

Re: Statistics.jsx

Without modifying an existing script or writing a brand new one, all of this can be done with a few steps, leveraging existing scripts and features: 1) File menu > Scripts > Load Files Into Stacks (select your folder) 2) Select Menu > All Layers 3) Layer menu > Smart Objects > Convert to Smart Objec...