Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
@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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now