Skip to main content
wckdtall
Inspiring
August 8, 2025
Question

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

  • August 8, 2025
  • 1 reply
  • 190 views

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.

1 reply

Legend
August 8, 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

wckdtall
wckdtallAuthor
Inspiring
August 11, 2025

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


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

@jazz-y Any additional thoughts on this?

wckdtall
wckdtallAuthor
Inspiring
September 19, 2025

@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.