Action

List Action Shortcuts, Comma-Delimited

Posted by David Blue, Last update over 2 years ago

A modified version of TAD-List Action Shortcuts that exports a comma-delimited list of keyboard shortcuts instead of using :.

Original description:

Ouput details of all actions with keyboard shortcuts to a new draft. Action name is followed by a colon, a space, and then the keyboard shortcut. Also deals with special key triggers (arrow keys and tab).

Steps

  • includeAction

    name
    TAD
  • script

    let astrOutput = [];
    Action.TA_getAllActions().forEach(function(acCurrent)
    {
    	acCurrent.TA_populateMore();
    	if(acCurrent._keyHas) astrOutput.push(`${acCurrent.name},${acCurrent._keyShortcut}`);
    });	
    draft.TA_draftNew(astrOutput.join("\n"));

Options

  • After Success Default
    Notification Error
    Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.