
Stephen Marsh
Community Expert
Stephen Marsh
Community Expert
Activity
2 hours ago
Do all of the images have the same resolution PPI as the watermark?
Also, why the canvas crop? Take note of the recorded crop values which are absolute.
... View more
‎May 16, 2025
11:52 AM
There is no selection, so I would forget about it.
... View more
‎May 16, 2025
12:56 AM
Once downloaded, run Photoshop and then use File > Open and navigate to the .psdt file rather than opening from the Finder.
... View more
Community Expert
in Photoshop ecosystem Discussions
‎May 15, 2025
07:22 PM
2 Upvotes
‎May 15, 2025
07:22 PM
2 Upvotes
@wekiwis
There isn't too much to add to the great reply from @Claire H. – except that the colour mode of the file is only half the story... Using Image > Mode > RGB will convert from another mode such as CMYK/Lab/Grayscale to RGB using the RGB Working Space ICC Profile and conversion options set in your Colour Settings, which may or may not be ideal for the use case at hand.
Another option providing more flexibility is to use Edit > Convert to Profile, where you can set the desired RGB ICC Profile for the intended use case: sRGB, Adobe RGB (1988), Pro Photo etc. P.S. It's usually a good idea to embedd or save the ICC profile into the image when saving, so that the RGB values in the file are defined and not open to interpretation.
... View more
‎May 15, 2025
04:49 PM
Would not saving the selection work?
By @Doug.S
*IF* you have a "marching ants" selection, yes, it can be saved to a permanent alpha channel, or used as a mask for a solid color fill layer etc.
But it doesn't sound like you have a selection.
... View more
‎May 15, 2025
04:13 PM
1 Upvote
Hit Q for quick mask does nothing.
By @Doug.S
That's why I asked you to clarify how you were "selecting" a colour. Quick Mask is used with an active selection (marching ants).
... View more
‎May 15, 2025
02:41 PM
2 Upvotes
@Doug.S – How exactly are you selecting a colour?
Some tools like Select > Color Range have a "selection preview" option.
With an active selection, you can use the "q" key to toggle in and out of Quick Mask mode, where the selection is converted to a temporary alpha channel alowing pixel based edits/filtering before being converted back to a selection.
... View more
Community Expert
in Photoshop ecosystem Discussions
‎May 15, 2025
02:09 AM
1 Upvote
‎May 15, 2025
02:09 AM
1 Upvote
@elliotstoner
Another option is to use the late JJMack's BatchMultiImageCollage.jsx script, where all you need to do is create an alpha channel in the required sizes and positions in your template background (named Image 1, Image 2 etc).
I have attached a PSD (I had to convert it to grayscale to fit the upload limit).
https://github.com/MarshySwamp/JJMack-Archive
PhotoCollageToolkit.zip
EDIT: Forget that idea, I just realised that you're going to run out of alpha channels.
... View more
Community Expert
in Photoshop ecosystem Discussions
‎May 15, 2025
01:11 AM
1 Upvote
‎May 15, 2025
01:11 AM
1 Upvote
There is an ExtendScript Debugger for Visual Studio Code:
https://marketplace.visualstudio.com/items?itemName=Adobe.extendscript-debug
AFAIK, you should only use var, not let or const for ES (otherwise look into the new, modern UXP scripting).
... View more
‎May 14, 2025
04:06 PM
Can you clarify with screenshots?
... View more
‎May 14, 2025
04:05 PM
On a related note, I created a script for simple rectangular array layer stepping and repeating here:
https://community.adobe.com/t5/photoshop-ecosystem-discussions/creating-duplicate-images-for-multi-packs-on-online-marketplaces-within-photoshop/td-p/12511723/page/2
... View more
‎May 14, 2025
06:54 AM
Thank you, I extracted this code from it. It works fine in Photoshop CC and above versions, but not in CS6 and below. Thanks again!
By @w30290083o9nn
Yes, the wonders and joys of AM code, it can be version specific and various keys may be different or might not exist in earlier versions.
... View more
‎May 14, 2025
06:35 AM
@w30290083o9nn
Earlier discussions which might prove useful:
https://community.adobe.com/t5/photoshop-ecosystem-discussions/photoshop-scripting-solid-fill-or-shape-layer/m-p/11019677#M319038
https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-check-layer-kind-using-javascript/m-p/13174707
https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-check-layer-kind-using-javascript/m-p/13172785#M668796
https://community.adobe.com/t5/photoshop-ecosystem-discussions/is-there-description-of-the-numeric-layerkind-indexes-that-are-available-through-am/m-p/10461752#M244716
https://community.adobe.com/t5/photoshop-ecosystem-discussions/select-layers-by-kind-script/m-p/11867138#M517456
... View more
‎May 14, 2025
06:23 AM
@w30290083o9nn
That script looks kinda familiar (now at v1.8) :]
https://gist.githubusercontent.com/MarshySwamp/ef345ef3dec60a843465347ee6fcae2f/raw/93b7719f6d44cf77fb20b7f0d5a10fe7b78ec44f/Active%2520Layer%2520Inspector.jsx
I have recently created a new script which processes all layers in the file (not just the active layer) and writes the data to a CSV file:
https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-copy-multiple-layer-names/m-p/13118781#U15263262
This script can show the difference between a shape and solid fill layer:
Layer Name
Visibility
Type
Kind (DOM)
Kind (AM)
Triangle
TRUE
ArtLayer
LayerKind.SHAPELAYER
kVectorSheet
Color Fill
TRUE
ArtLayer
LayerKind.SOLIDFILL
kSolidColorSheet
The active layer inspector script could be updated to use this better codebase... It's similar to Layer Groups, Artboards and Frame layers all being reported by DOM code as a layerSet – it takes extra AM code to qualify the differences:
https://community.adobe.com/t5/photoshop-ecosystem-discussions/custom-script-for-renaming-artboards-with-multiple-elements/m-p/13498536#U13583633
... View more
‎May 14, 2025
12:49 AM
Further to the reply from @Trevor.Dennis there are other presets in addition to .atn files for actions, for example @SteveJM asked about brushes, which are in .abr format (Brushes window menu, import brushes). Then there are (Colour) Swatches in .aco format, Gradients, Patterns and even presets for adjustments/adjustment layers such as curves or levels or channel mixer etc.
... View more
‎May 13, 2025
10:58 PM
i've found the problem, there was some characters that are disrupting the parsing/importing of the data. Thank you sir!
By @rayhan21971897wdpi
You're welcome, I imported using UTF-8 and only when creating the animated GIF of the data sets noticed the actual text result, which is why I mentioned looking at the text encoding.
... View more
Community Expert
in Photoshop ecosystem Discussions
‎May 13, 2025
10:47 PM
1 Upvote
‎May 13, 2025
10:47 PM
1 Upvote
For legacy ExtendScript, you can take a look at the following as an example for place embedded or linked:
https://community.adobe.com/t5/photoshop-ecosystem-discussions/layers-creating-layers/td-p/13252109
An example for reading from a CSV here:
https://community.adobe.com/t5/photoshop-ecosystem-discussions/csv-data-to-colour-pixels/m-p/14358713
... View more
‎May 13, 2025
05:09 PM
It all works fine for me.
I have 20 variables, each variable name matching the column header in the CSV file:
The data sets from CSV import correctly to the matching variables:
I have attached the sample PSD used with your CSV.
P.S. You might neet to look at the text encoding for the CSV import for special characters.
... View more
Community Expert
in Photoshop ecosystem Discussions
‎May 13, 2025
04:34 PM
1 Upvote
‎May 13, 2025
04:34 PM
1 Upvote
@MarkNF – You're welcome, I have marked the reply from @D Fosse as a correct answer for you.
... View more
‎May 13, 2025
07:11 AM
It's really hard to comment without seeing the psd+csv or at the minimum even screenshots.
... View more
‎May 13, 2025
03:24 AM
Please post a screenshot of the action panel in standard list mode view with all steps expanded and visible.
... View more
Community Expert
in Photoshop ecosystem Discussions
‎May 12, 2025
04:21 PM
1 Upvote
‎May 12, 2025
04:21 PM
1 Upvote
@MarkNF – To illustrate the reply from @D Fosse here's a screenshot, where the "modal control" has been set against the transform step.
... View more
‎May 12, 2025
03:06 PM
I followed all of the directions to install the script, but when I ask it to run it; it says it is an invalid script.
I'm happy to help you to get it working, can you post screenshots of any error messages, how you are running the script etc. For example, someone tried to install it in Bridge, however, it's a Photoshop script. Another common issue is saving the script code as rich text format and not plain text.
Adobe just needs to make this easy and add that lovely little check box that we can tell it to never show again so it can die in the abyss of pop-ups that we hate seeing.
By @KathrynB82D
Agreed. This post is a discussion, not an idea (feature request), so it may never come to the attention of the appropriate Adobe employees.
... View more
‎May 12, 2025
08:54 AM
I have and it does not work.
@KathrynB82D
What exactly have you done which doesn't work?
For now, the script that I wrote which was linked earlier by @Aleke is the only alternative for later versions of Photoshop to open images bypassing any warnings (whether Pantone or other).
... View more
Community Expert
in Photoshop ecosystem Discussions
‎May 11, 2025
11:50 PM
1 Upvote
‎May 11, 2025
11:50 PM
1 Upvote
I was hoping that a tool preset or scripting would default to remember the option, but it's ignored.
... View more
‎May 11, 2025
11:42 PM
Actions panel menu > Playback Options:
... View more
‎May 10, 2025
06:12 PM
@Trevor.Dennis – As Pantone is an entire workflow and ecosystem, from design to ink mixing for press, I was truly surprised that there wasn't more negative feedback!
More on how to deal with this at my blog: https://prepression.blogspot.com/2022/12/photoshop-2022-pantone-color-book.html
... View more
Community Expert
in Photoshop ecosystem Discussions
‎May 10, 2025
05:24 PM
1 Upvote
‎May 10, 2025
05:24 PM
1 Upvote
this link now leads to a suspicious website.
By @Nishant.Kumar.2906
Thank you for the bump, yes, the site is now down and the original link is now redirecting to rubbish.
Here is the code from the original link:
var doc = app.activeDocument;
var filename = doc.name;
var foldername = doc.path.name;
var filepath = doc.path;
var parentfilepath = doc.path.parent
var jpegQuality = 70; // desired quality
var maxfilesize = 512000; // max size in bytes
var dec = 5; // decreasing step
var minimumqual = 50; //minumum desired quality
savefolder = new Folder(filepath + '/BATCH/');
savefolder.create();
saveFile = new File(savefolder + '/' + filename.split('.').slice(0, -1).join('.') + ".jpg");
doc.flatten();
doc.pathItems.removeAll();
doc.channels.removeAll();
function savebatchweb(saveFile, jpegQuality) {
var sfwOptions = new ExportOptionsSaveForWeb();
sfwOptions.format = SaveDocumentType.JPEG;
sfwOptions.includeProfile = true;
sfwOptions.interlaced = 0;
sfwOptions.optimized = true;
sfwOptions.quality = jpegQuality;
doc.exportDocument(saveFile, ExportType.SAVEFORWEB, sfwOptions);
}
savebatchweb(saveFile, jpegQuality);
while (saveFile.length > maxfilesize) {
jpegQuality = jpegQuality – dec;
saveFile = new File(saveFile);
saveFile.remove();
savebatchweb(saveFile, jpegQuality);
if (jpegQuality <= minimumqual) {
break
}
}
doc.close(SaveOptions.DONOTSAVECHANGES); //closes file
or
https://codebybrett.github.io/savesmalljpeg/
or
https://community.adobe.com/t5/photoshop-ecosystem-discussions/slow-operation-of-the-script/td-p/13528506
While outside of scripting, another batch method is ACR:
https://community.adobe.com/t5/photoshop-ecosystem-discussions/image-processing-100-images-to-be-below-600kb-but-above-500kb/m-p/13925482#M743301
Going back to the original post, this isn't covered in standard DOM scripting, nor is it available to the scripting listner plug-in, so AFAIK, the AM scripting alternative isn't possible.
... View more
Community Expert
in Photoshop ecosystem Discussions
‎May 09, 2025
10:49 PM
1 Upvote
‎May 09, 2025
10:49 PM
1 Upvote
If the file is 32bpc, one can use Export As, otherwise if 16bpc use Legacy Save As recommended by @Trevor.Dennis
... View more
Community Expert
in Photoshop ecosystem Discussions
‎May 09, 2025
04:50 PM
1 Upvote
‎May 09, 2025
04:50 PM
1 Upvote
@Chris3000 – Did the reply from @Bojan Živković solve your problem? @Trevor.Dennis makes good points (or would like to) as a case for using Smart Objects for certain situations. We do understand that there are pros/cons.
... View more