Search found 37 matches

by Stephen_A_Marsh
Sat Jul 06, 2024 4:01 am
Forum: Photoshop Scripting - General Discussion
Topic: Generative expand via vbscript
Replies: 1
Views: 1122

Re: Generative expand via vbscript

Have you tried looking at the ScriptingListener plug-in recordings?
by Stephen_A_Marsh
Sat Jul 06, 2024 2:07 am
Forum: Photoshop Scripts
Topic: siva conditional
Replies: 2
Views: 980

Re: siva conditional

http://actionlogic.blogspot.com

I have attached the .jsx script in .zip compressed format.
by Stephen_A_Marsh
Sat Jul 06, 2024 2:01 am
Forum: Photoshop Scripts
Topic: siva conditional
Replies: 2
Views: 980

Re: siva conditional

That's pretty easy without Siva's script, without any GUI: if (app.activeDocument.name == "Untitled-1") { app.doAction("Action 1", "Action Set 1"); } else { //app.doAction("Action 1", "Action Set 2"); } A GUI is easy enough to add either using a simp...
by Stephen_A_Marsh
Wed Jun 26, 2024 12:31 am
Forum: Help Me
Topic: How open pdf in photoshop with option 2.
Replies: 3
Views: 1218

Re: How open pdf in photoshop with option 2.

You're welcome, I extended your code to suit my work. /* Save raster images from the selected PDF as TIFF files.jsx Based on: https://www.ps-scripts.com/viewtopic.php?p=172190#p172190 */ #target photoshop (function () { // Specify the path of the PDF file var pdfFilePath = File.openDialog("Sele...
by Stephen_A_Marsh
Tue Jun 25, 2024 11:32 am
Forum: Help Me
Topic: How open pdf in photoshop with option 2.
Replies: 3
Views: 1218

Re: How open pdf in photoshop with option 2.

The ScriptingListener plug-in records basic info: var idopen = stringIDToTypeID( "open" ); var desc227 = new ActionDescriptor(); var idas = stringIDToTypeID( "as" ); var desc228 = new ActionDescriptor(); var idsuppressWarnings = stringIDToTypeID( "suppressWarnings" ); d...
by Stephen_A_Marsh
Fri May 31, 2024 12:24 am
Forum: Photoshop Scripting - General Discussion
Topic: Layers to Channels - Script stopped working?
Replies: 3
Views: 7206

Re: Layers to Channels - Script stopped working?

Bump. No one? I will literally pay someone to get this working :ugeek: For me, the issue was with the DOM code for paste. Replacing this with AM code resolved the issue (tested in v2021 and 2024): //enable double clicking #target photoshop app.bringToFront(); //store document var docRef = app.activ...
by Stephen_A_Marsh
Wed Apr 24, 2024 1:03 am
Forum: Help Me
Topic: Script for Selecting Pixel Radius
Replies: 1
Views: 5392

Re: Script for Selecting Pixel Radius

He is a moderator of this forum (and no longer participating on the Adobe forums):

memberlist.php?mode=viewprofile&u=1091
by Stephen_A_Marsh
Sun Dec 10, 2023 5:54 am
Forum: Help Me
Topic: Script To Delete RGB Channels If Present
Replies: 6
Views: 6232

Re: Script To Delete RGB Channels If Present

I know that this is an old topic, I stumbled over it when I too was looking for code to remove the component channels. Here is the function that I created, just in case it helps someone else: removeCompChannels(); function removeCompChannels() { if (app.activeDocument.mode === DocumentMode.RGB) { fu...
by Stephen_A_Marsh
Wed Nov 15, 2023 6:27 am
Forum: Photoshop Scripting - General Discussion
Topic: activeDocument.saveAs opens dialog
Replies: 3
Views: 3848

Re: activeDocument.saveAs opens dialog

I would class your "workaround" as the preferred method, considering the following: https://helpx.adobe.com/au/photoshop/kb/networks-removable-media-photoshop.html P.S. Native OS move commands called from a script are discussed here: https://community.adobe.com/t5/photoshop-ecosystem-discu...