If I select Edit Action/Script I can see the programming, I can get the ID of action or script by right click. By looking at how scripts work you learn how to make your own, you can copy sections out of other scripts to make your own.
Here are the API used to create scripts, the C++ ones are used by the JUCE BB Plugin to integrate Reaper
https://www.extremraym.com/cloud/reascript-doc/In the script it's just getting the current toggle state, and if it's off then turn it on:
![[Linked Image - Only viewable when logged in]](https://www.pgmusic.com/forums/ubbthreads.php?ubb=download&Number=29423&filename=Reaper-Edit-Script-Get-ID.png)