Skip to main content
Inspiring
August 23, 2017
Question

How to record an action for healing brush/clone tool ?

  • August 23, 2017
  • 3 replies
  • 12127 views

Hi,

most of you who know photoshop so well, know it's a fact it's impossible to record an healing brush or a stamp tool to apply. Also is knowns the patch tool is the only way to make theses kinds of corrections and record them but the patch tool is not doing a great job as the healing brush, if you know your stuff.

This situation is never the less something many can experience, shooting products and having the same spots, dust and scratch to remove over 600 images is a major challenge.

I know when photoshop cannot record tools or specific task then scripting is the way to go.

Will scripting can open new possibilities to use healing brush corrections over an image to apply over many others doing the same corrections ?

Also I'll post this in the request for new versions or updates coming up in photoshop family page.

Mark

This topic has been closed for replies.

3 replies

Inspiring
March 13, 2018

I have found the answer.

Navigate to this page:

Record tools in actions in Photoshop

Though this is meant for CS6, it works in CC.

RedGreenBlue1024

Kukurykus
Legend
March 14, 2018

I did not know about possibility to record your drawings. Because I had grayed 'Allow Tool Recording' I had to find this:

CS6 How to set option Allow Tool Recording ? / in 19.1.2 you still have to disable ScriptListener to use it this option

Kukurykus
Legend
August 5, 2021

del

(tried to change the state in Adobe Photoshop Prefs.psp, but then remembered that the file is being cached )


You mean to 'Allow Tool Recording' in CS6? If so there are more sadness in opposed to Bridge where you can during session upload new workspace to its Worskpaces folder which content will be automatically reloaded. You can there also reload Startup Scripts folder, so if you had some predefined settings you can change them at any time you want to apply anew to application. With Photoshop you can't do it without its relaunching.

 

Talking about Bridge pros there's also cons I know in favour of Photoshop. You can make shortcut from Presets or StartupScripts folders of Photoshop to other folder which you keep on some server, but in Bridge that is impossible. You can there only to include in .jsx file the other .jsx file that's on server and which then eventually uses other files if needed.

c.pfaffenbichler
Community Expert
Community Expert
August 24, 2017
most of you who know photoshop so well, know it's a fact it's impossible to record an healing brush or a stamp tool to apply.

That is untrue as JJMack already pointed out.

But recording such Tools in an Action can be problematic … if I remember correctly changing the diameter of the tool tip for example does not get recorded.

As for the sensor dust I would recommend considering using Camera Raw for this – »Sync Settings« allows to transfer Spot Removal to multiple files for example.

JJMack
Community Expert
Community Expert
August 24, 2017

I seem to remember your right about the brush settings.  I also had problems with the amount of data recorded between slow machines an fast machine.  Action recorded on fast machine there was a great amount of data recorded amount for tool used the actions would overtax slow machines. Some Brush type require sampling a sourse spot first like the healing brush. So the depend on the image content which can also be a Problem recording tools.  I do not use tool recoding....

There are application for sensor dust problems beside ACR for cleaning up RAW files.  If your camera is expensive have your sensor cleaned professionally. I'm a coward  to use more then a bower on my old Canon my newer cannon has a sensor cleaner function.  I still manage to get dust spots at time and only use  ACR and the spot healing brush when needed.

JJMack
Alt DenteAuthor
Inspiring
October 2, 2017

thanks guys for your input

Davide_Barranca12040269
Legend
August 23, 2017

Hi Mark,

if you have the very same spots to retouch over and over again (aka a dusty sensor), is it conceivable to create Path points and then Stroke them using the Spot Healing Brush Tool?

I know you can stroke entire paths, I've just tested single points and it works the same.

Hope this helps,

Davide

Davide Barranca - PS developer and authorwww.ps-scripting.com
JJMack
Community Expert
Community Expert
August 24, 2017

If you do not install Adobe Scriptlistener plug-in you should be able to record an action to do that.  You can enable tool recording to record your spot healing brush strokes.   When one install the Scriptlistener plug-in Adobe disables the tool recording feature in the Action palettes option.  You should include a  little script in the action like my  orient.jsx which will  rotate portrait images 90 to landscape so the spots will be in the same location,  Then apply the brush stroke and use orient.jsx a second time to rotate documents the were rotated back to portrait. However Adobe design in a bug in CC 2015.5 and CC 2017 you need to add garbage to the info metadata field first if you using the latest Photoshop versions to get around the bug. That can be done with a open document event handler, Use this script.

if (app.activeDocument.info.instructions.indexOf("Garbage") == -1 ) app.activeDocument.info.instructions = app.activeDocument.info.instructions + "Garbage";

JJMack
Davide_Barranca12040269
Legend
August 24, 2017

JJMack, do you think, in line of principle, that processing an Action that has recorded brush strokes in it through XBytor's Action2JSX could effectively produce the code of scripted brush strokes (among the rest)? I have to test it, but I've vague recollections of having done such experiment in the past resulting in a frozen Photoshop.

Besides, while there's code to programmatically enable/disable ScriptListener logging, I'm not aware of similar code to enable/disable brush strokes logging. Since an Action, as you pointed out, can record them – and SL works based on the same internal events system, there should be a way to do so... maybe. Or maybe not.

Davide Barranca - PS developer and authorwww.ps-scripting.com