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

"Stop Playing/Recording" on the Actions panel via scripting?

Enthusiast ,
Aug 08, 2025 Aug 08, 2025

Using "ScriptingListener.plugin" I was able to record an action, however it triggers "Begin recording" and will not toggle it off, even if I make another action with the same script. Is there a way to trigger this action or the escape key? I want to be able to record multiple actions in a loop, so stopping recording is imperative.

TOPICS
Actions and scripting , macOS
127
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
Mentor ,
Aug 08, 2025 Aug 08, 2025

ScriptingListener always record events while it is loaded into memory.

 

You can use jsx code to enable

    var desc = new ActionDescriptor();
    desc.putBoolean(stringIDToTypeID('log'), true);
    executeAction(stringIDToTypeID('AdobeScriptListener ScriptListener'), desc, DialogModes.NO);

and disable the creation of the log file

    var desc = new ActionDescriptor();
    desc.putBoolean(stringIDToTypeID('log'), false);
    executeAction(stringIDToTypeID('AdobeScriptListener ScriptListener'), desc, DialogModes.NO);

It should be understood that the plugin is not an alternative to actions - it records a lot of "garbage" events, before executing the logged code, it requires careful filtering

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
Enthusiast ,
Aug 11, 2025 Aug 11, 2025

Thanks. Unfortunately, this isn't what I was asking. I'm trying to stop the actions panel from recording:

wckdtall_0-1754931257731.png


It automatically triggers on but can't be shut off.

@jazz-y Any additional thoughts on this?

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
Enthusiast ,
Sep 19, 2025 Sep 19, 2025
LATEST

@r-bin 
I found  this Stop Recording post where you mention using an ActionMaker object, but it doesn't look like this works anymore. Scripting Listener no longer works on my M1 mac, just trying to see if there's a current way to stop recording an action so I can start recording a new one.

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