EnableActionById

Enables an action, by ID

public void EnableActionById(string actionId)
actionId
string required

You can get the action id by right-clicking on an action and Copy Action Id

void
using System;
public class CPHInline
{
    public bool Execute()
    {
        //Define action id you want to enable
        string actionId = "4fcc2d13-9bcf-4c18-9d91-821a15f4b6e5";
        
        CPH.EnableActionById(actionId);         return true;
    }
}