you just saved my butt. as an artist it's so hard to learn things on the fly, this helps so much!!!
@jmgcg Жыл бұрын
Thank you for the clear explanation. Finaly I understand how Script Listener works
@davidmattey30652 ай бұрын
Thanks for this! This will be quite helpful.
@hamishhamilton69232 жыл бұрын
Thanks William, I’m looking forward to trying this one. Great video 🤓
@wc72 жыл бұрын
Great. Let me know how it goes. Thanks.
@victor25021983 Жыл бұрын
designer skill combine with javascript programming skill. cool ..
@CompositeNation2 жыл бұрын
Hello William, I already installed the plugin but it seems not to log any file into my Desktop, I already restarted the computer and it is not working. Do you know why this could be happening? Kind regards.
@wc72 жыл бұрын
Not sure. It's always worked for me. Is this macOS or Windows? Do you have the right plugin for the right platform? They are different. Also double-check the plug-in is in the right folder.
@CompositeNation2 жыл бұрын
@@wc7 I've used it for years as well and never had this issue beofre, just upgraded to Windows 11 and I don't know if something is wrong with windows 11.
@wc72 жыл бұрын
@@CompositeNation Again not sure. I am not using Windows 11 yet so couldn't say if it is the problem. I would post a question on the Adobe forum -- community.adobe.com/ -- Photoshop section, because the great number of users there maybe someone has encountered the same and solved it.
@CompositeNation2 жыл бұрын
@@wc7 Thank you very much William I already post it on the forums, I appreciate your time!
@wc7 Жыл бұрын
@@CompositeNation Also consider another tool that can convert Actions to JavaScript. sourceforge.net/projects/ps-scripts/files/xtools/ You don't need all of it. Look in the "apps" folder for "ActionToJavaScript.jsx" Copy that JSX to your scripts folder and run it. Select an Action and where to save the code. I actually use this now more than Scripting Listener Plug-in. Also xtools works on M1 Mac. Scripting Listener does not.
@petaiasamasoni5846Ай бұрын
I cannot get it to work. Visual studio code only records if I don't delete the existing input on the js file. I've tried only coping the input after the pre existing input and it still doesn't work. help please
2 жыл бұрын
I try to fill red color of "two" string in "one two three" string (text layer), but it's not working. Can you make a video for this. thanks
@wc72 жыл бұрын
I'm not sure scripting listener can record this, at least not change the color of specific text, without updating the entire text layer. Which means it would always change to the same text used when recorded. I have to investigate before I can say how to do it, if it can even be done.
@bilal-zr6uy3 ай бұрын
Isnt this possible using only actions?
@edwardj8185 Жыл бұрын
Thank you so much William, i am Edward. There is an error message when i tried to use it for Edit > Convert to Profile > Advanced > Multichannel > "Fuji PC1120" Profile. Error 8800" General Photoshop error occurred. This Functionality may not be available in this verion of Photshop. -The command "" is not currently avaialbe. Line: 14 -< executeAction( idmodalStateChanged, desc45, DialogModes.NO ); Please let me, what is the problem with script .
@wc7 Жыл бұрын
I got your website message and replied. The problem is your listener code has two blocks "modal state changed" those are the dialog window opening and closing. Remove those. All you need is the last block with "convert to profile" in the first line.
@wc7 Жыл бұрын
As many users of Apple Silicon Macs are learning, Scripting Listener Plug-in is not compatible with the new chips, only older Intel CPUs. Consider another tool that can convert Actions to JavaScript. sourceforge.net/projects/ps-s... You don't need all of it. Look in the "apps" folder for "ActionToJavaScript.jsx" Copy that JSX to your scripts folder and run it. Select an Action and where to save the code. I actually use this now instead of Scripting Listener Plug-in. It works on my M1 Mac Studio Photoshop 2023 and 2024.
@aidanearl697 Жыл бұрын
Thanks for this. Worked for me on an M1 Mac. For those that may not understand. You have to drag that ActionToJavaScript.jsx into your photoshop. A dialog will appear for you to select a folder and an action in that folder. Works on the Beta PS also.
@orangefoxgaming90622 жыл бұрын
Hello sir how to Photoshop jsx scripts all layer renaming as i decide. Ex: 01,02,03 it renamed should be serial please help me.
@wc72 жыл бұрын
Can you confirm what the script should do? My impression is that every layer starting from top and going to bottom be renamed to an incremental number with zero prefix. So top layer gets renamed to "01", next layer down, "02", etc. until reaching the bottom. Will it includes layers in groups? And should group names be included in the numbering? Or ignore groups? (perhaps the images to process won't have groups?). All details you can provide help get it right the first time. Thanks.
@muhammadnaim4583Ай бұрын
ScriptingListener plug-in not work Photoshop CC 2018😭😭😭
@CliffStewart-ci8uc Жыл бұрын
The two files of scripting listener log that should be on my desktop is not there. Working on a mac photoshop 23
@wc7 Жыл бұрын
Doesn't work with Apple M1 chip version of Photoshop.
@wc7 Жыл бұрын
Have a look at this alternate solution. It works on M1. sourceforge.net/projects/ps-scripts/files/xtools/ You don't need all of it. Look in the "apps" folder for "ActionToJavaScript.jsx" Copy that JSX to your scripts folder and run it. Select an action and where to save the code. I actually use this now more than Scripting Listener Plug-in.
@marioazmy6013 Жыл бұрын
Thanks William How to write the daily date on images automatically in Photoshop
@wc7 Жыл бұрын
First see tutorial #6 for how to add a text layer: kzbin.info/www/bejne/fXq9nnamabioga8 Instead of simple text, calculate today's date. var now = new Date(); var today = (now.getMonth() + 1) + "/" + now.getDate() + "/" + now.getFullYear(); Use the value of the variable 'today' in the content of the textItem.
@marioazmy6013 Жыл бұрын
@@wc7 thank William
@012897 Жыл бұрын
Not working for Photoshop 2023 on Mac..
@wc7 Жыл бұрын
Plug-in is not compatible with M1 versions of Photoshop. No word from Adobe yet (that I know of) if/when an updated plug-in will be available. If possible to run non-M1 version can use Rosetta and then the plug-in works. More info here: community.adobe.com/t5/photoshop-ecosystem-discussions/scripting-listener-not-working-in-photoshop-2021-for-mac-m1/td-p/12037162
@wc7 Жыл бұрын
Another solution is xtools. There is one script "Action to JavaScript" that gives similar results to Scripting Listener Plug-in and it works with M1 chip versions of Photoshop. Get it here: sourceforge.net/projects/ps-scripts/files/xtools/
@kriczkinorbert2 жыл бұрын
Hi, i am new in here. Realy useful video. Thank you! I have an idea for a future video. How to make costume keybord shortcut for action trigger.
@wc72 жыл бұрын
Thanks, I'm glad it helps. About the keyboard shortcut, I talk about that in these videos, but it's way at the end of each: How to install Photoshop scripts macOS: kzbin.info/www/bejne/mJDOdJyOe7mBfc0 How to install Photoshop scripts Windows: kzbin.info/www/bejne/kIe8mouGbM1piNk It's easy to explain right here. In the Actions list, put the mouse pointer to the right of the Action name, in the blank area (if on the name itself that renames the Action). Double-click and a window opens "Action options" one of which is to assign a function key for the Action. I use this for many Actions I run often. I hope that helps.
@treasad14946 ай бұрын
I am looking for a script to do fore-edge printing on book pages. Do you know how I would find a script for this. And how to use it?
@wc76 ай бұрын
Try the Adobe User Community. Free to join. forums.adobe.com/
@NorthernAir2020 Жыл бұрын
That is incredibly useful. I am so glad I found this video. I could kiss you for that, thank you so much.
@haies092 жыл бұрын
If I wanted to make dodge and burn curves and have them placed inside a dedicated group, no matter where you’re in the layers section. Can this plugin do that, or do I have to add certain codes myself?
@wc72 жыл бұрын
This plug-in is to record tasks performed in Photoshop that can then be put into script code. If the steps are the same for every image, the resulting code could be a complete script, the same an Action could be a complete solution. But if anything varies, like layer names, or what group a layer is in, etc., other code has to handle that, combined with the result of Scripting Listener.
@jusushd Жыл бұрын
i want to use script to scroll Brushes Panel scroll Bar to browse brushes during drawing .can pphotoshop scripting api do that ?
@jusushd Жыл бұрын
i tryed this event lisner it can't recordv Photosohop app UI event .
@wc7 Жыл бұрын
Can't script scrolling the UI that I know of.
@bharamappabandak92262 жыл бұрын
Nice sir👌👌👌
@wc72 жыл бұрын
Thanks.
@bharamappabandak92262 жыл бұрын
@@wc7 well come 🙏
@nirphotoartjaiminbhavsar67822 жыл бұрын
Nice sr
@wc72 жыл бұрын
Thanks. I glad you like it. More to come.
@joviion2040 Жыл бұрын
hi william,goood videos,i appreciate you are doing this to share knowledge.I have a doubt,in one of my work i need to segment parts of a car in photoshop,i made some actions,to do this ,but while segmenting i sometimes make a mistake of segmenting right tyre as left and left tyre as right. it has created a huge problem for me in my work.Is there any possibility we can write a script in photoshop so that it runs in the active document and finds for the errror if(left tyre is segmented as right tyre and right tyre is segmented as left tyre) Is there any possibility we can write a script so that it can run and find for mistake automatically.
@zhaooskar31782 жыл бұрын
I am working on a video file with a logo. For this I import that video into ps (import video frames to layers). Then I need to do content aware fill for each frame.Since the position of the logo is the same, I think this operation could be done by using a script. But I don't know vb javascript... at all. Until I saw your video, I wondered if it could be done with the ScriptingListener plug-in? But I can't, and I hope you can make a tutorial like this. thank you very much! If you need video footage, I can email you. Thanks!
@wc72 жыл бұрын
I am not strong in After Effects (print production is my expertise), but I understand After Effects has content-aware fill for video. Other viewers with experience can chime in. I can't see writing a script for Photoshop that tries to reinvent the wheel when a solution already exists.
@zhaooskar31782 жыл бұрын
@@wc7 sry about the misunderstanding. Actually i imported the video clip into photoshop because the content-aware fill function in AE didn't do a good job. In PS every single Frame was turned into a layer. then i make a selection by using the rectangle around the Logo. Then i do content-aware fill. This has to be done for every Frames. Is that possible make this loop operation automatically by using Script Listener Plug-in or just normal script?
@wc72 жыл бұрын
With image open, make a selection. Ensure at least one layer is selected or this will result in error. Then run this script code: var doc = app.activeDocument; for (var i = 0; i < doc.layers.length; i++) { doc.activeLayer = doc.layers[i]; var desc1 = new ActionDescriptor(); desc1.putEnumerated(stringIDToTypeID("cafSamplingRegion"), stringIDToTypeID("cafSamplingRegion"), stringIDToTypeID("cafSamplingRegionAuto")); desc1.putBoolean(stringIDToTypeID("cafSampleAllLayers"), false); desc1.putEnumerated(stringIDToTypeID("cafColorAdaptationLevel"), stringIDToTypeID("cafColorAdaptationLevel"), stringIDToTypeID("cafColorAdaptationDefault")); desc1.putEnumerated(stringIDToTypeID("cafRotationAmount"), stringIDToTypeID("cafRotationAmount"), stringIDToTypeID("cafRotationAmountNone")); desc1.putBoolean(stringIDToTypeID("cafScale"), false); desc1.putBoolean(stringIDToTypeID("cafMirror"), false); desc1.putEnumerated(stringIDToTypeID("cafOutput"), stringIDToTypeID("cafOutput"), stringIDToTypeID("cafOutputToCurrentLayer")); executeAction(stringIDToTypeID('cafWorkspace'), desc1, DialogModes.NO); }
@khuzaj488 Жыл бұрын
does it work with illustrator?
@wc7 Жыл бұрын
No.
@khuzaj488 Жыл бұрын
@@wc7 Thanks for your quick response
@khuzaj488 Жыл бұрын
@@wc7 How to do the same process with illustrator, is there a Illustrator Scripting Listener Plug-in or i have to learn to code
@wc7 Жыл бұрын
@@khuzaj488 A similar plug-in for Illustrator does not exist.
@helenawilsena5821 Жыл бұрын
Does Script listener plugin works for Adobe Animate cc? Actually i'm a animator and tried hard to automate my workflow. But i'm failed. I dont know how to code. Can you please help me out.
@wc7 Жыл бұрын
Scripting Listener is for Photoshop only. There are no similar plug-ins for other Adobe apps that I know of. Animate uses ActionScript, which I am not familiar with. I am familiar with ExtendScript in Photoshop, InDesign, and Illustrator. Sorry I can't be of help to you. I suggest try the Adobe user forum. Free to join. Ask your questions there. Someone will help. community.adobe.com/
@kostassfitis44242 жыл бұрын
Great tutorial sir, in my case it didn't work though. I wanted to make a script out of a plug-in . Is there any way to make a plug-in run as a script? Thanks William!
@wc72 жыл бұрын
The Scripting Listener records Photoshop, not other add-ons. No you can't make a script out of a plug-in, other than study what it does and write matching code yourself. Contact the maker of the plug-in to ask if it has an option to be scripted or included in an Action, another way to automate plug-ins.
@kostassfitis44242 жыл бұрын
@@wc7 Thank you very much for the fast response.
@Swain137 Жыл бұрын
Hello, is it possible to script inserting 2 different images into 2 different smart objects located in 1 picture? And automate the process for bunch of pair pictures?
@wc7 Жыл бұрын
Yes it is possible. For each smart object layer, first make a File object for the image to insert. We'll assume that is stored in variable "file". Next find the layer by name and select it. Then run this Scripting Listener code to swap the smart layer contents: // Replace contents of smart object layer. desc1 = new ActionDescriptor(); desc1.putPath(charIDToTypeID("null"), file); //
@wc7 Жыл бұрын
New video fulfills your request: kzbin.info/www/bejne/nZO7daOJfJx5pa8
@Champignon10004 ай бұрын
Exception has occurred: -25920 General Photoshop error occurred. This functionality may not be available in this version of Photoshop.
@wc74 ай бұрын
only works on Intel CPU not M1
@wc74 ай бұрын
Check comments for other solutions
@Champignon10004 ай бұрын
@@wc7 Hello, thank you so much for the tutorial and comment. I made it work now turned out to by an issue by including wrong part of the generated code.
@m7medoo2042 жыл бұрын
Thank's
@wc72 жыл бұрын
You're welcome. Thanks for watching.
@MohSenPa4 ай бұрын
Awesome
@arrk80552 жыл бұрын
SUPER
@wc72 жыл бұрын
Thanks. Glad you like it.
@Showbear1986 Жыл бұрын
Not working in Photoshop 2024?
@wc7 Жыл бұрын
Intel CPU yes it works. Apple silicon, no. Never was coded for that, and likely never will be with new scripting language rolling out now. See pinned comment and important update in description for solution.
@Champignon10004 ай бұрын
Did you make it work?
@j.c-mtl1150 Жыл бұрын
For me its not working for photoshop 24 , for photoshop 19 works like a charm.
@wc7 Жыл бұрын
Are you using M1 Mac? Not compatible with M1 chip version of Photoshop. See other comments for solutions.
@j.c-mtl1150 Жыл бұрын
@@wc7 Hi william , thanks 4 your response, im using windows 10.
@wc7 Жыл бұрын
@@j.c-mtl1150 Hmm. Not sure what to say. Works for me Photoshop 24.3 on Windows 11 22H2
@BrandHubz Жыл бұрын
I love you voice damn I wish could steal your voice .
@wc7 Жыл бұрын
I never thought my voice was anything special. Good enough to get the message delivered. Thank you for the compliment. And thanks for watching.
@chauhuynh-DN Жыл бұрын
when i run script. I found out this error 8800. executeAction( idtoolModalStateChanged, desc463, DialogModes.NO ); Please help me
@wc7 Жыл бұрын
You haven't reduced the log to the lines relevant to the task you intended to record. The plug-in records everything, even things you can ignore. "idtoolModalStateChanged" indicates a window changed focus. You don't need any of these in the final code to use. Re-watch the video. This is explained multiple times.
@wc7 Жыл бұрын
Also consider another tool that can convert Actions to JavaScript. sourceforge.net/projects/ps-scripts/files/xtools/ You don't need all of it. Look in the "app" folder for "ActionToJavaScript.jsx" Just copy that JSX to your scripts folder and run it. Select an Action and where to save the code. I actually use this now more than Scripting Listener Plug-in. Also xTools works on M1 Mac. Scripting Listener does not.
@chauhuynh-DN Жыл бұрын
@@wc7 thank you very much
@QuynhNguyen-xc8ej Жыл бұрын
@@chauhuynh-DN Giải quyết vấn đề đấy như thế nào vậy bác? em cũng bị lỗi tương tự, thử xóa mà cũng k đc.