Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Photoshop scripting - Record user activities and repeat. Recording an Action from a script?

New Here ,
Mar 15, 2025 Mar 15, 2025

Hello!

The task is to record custom user activities made with some layer and repeat them on another layer.


The only way I can see at the moment is to use the ScriptingListener plugin.
A jsx script initiates recording, next script stop it, then read and analyze log, remove unnecessary parts and execute it as another jsx script.


Is there perhaps an easier way?
If it is possible to initiate Action recording from a script?
Maybe from UXP?

Thanks in advance.

TOPICS
Actions and scripting
131
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Mar 16, 2025 Mar 16, 2025

What kind of activities exactly? 

What is the actual scenario? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 17, 2025 Mar 17, 2025

Well, the idea is that the activities should be any - adjustments, transformations, filters ets.
as if I had recorded an Action and then applied it to another layer.

I can do that, but repeating it many times is time consuming and I'd like to automate it. So the question was whether it is possible to somehow write the Action from the script - but apparently it is not...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 17, 2025 Mar 17, 2025

I believe that it's possible, but not practical from an automated perspective.

 

https://sourceforge.net/projects/ps-scripts/files/xtools/v2.3/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 17, 2025 Mar 17, 2025
null
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 18, 2025 Mar 18, 2025
LATEST

Adjustments, transformations and filters can all be applied non-destructively (as Adjustment layers and on Smart Objects) and subsequently also transferred (in the case of transformations the issue is a little convoluted, so for that a Scripting solution might be necessary), so I would recommend »simply« pursuing a sensible non-destructive workflow. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines