Drafts Action Directory

Writing Module

Posted by @nahumck, Last updated: 2018-06-22 21:12:05 UTC - Unlisted

Switch to the Writing Module, which consists of the Writing workspace, Writing action group in the extended keyboard row, and the Social action group in the action list. If on the iPad, this will load the draft drawer.

Install

Steps

  • script

    // Get device model
    var model = device.model;
    
    var module = "Writing"
    var workspace = Workspace.find(module);
    var keyboard = ActionGroup.find(module);
    var group = ActionGroup.find("Social");
    
    // Show draft list if action is run on an iPad
    if (model == "iPad") {
    	app.showDraftList();
    }
    else {
    	app.hideActionList();
    }
    
    app.loadActionGroup(group);
    app.loadKeyboardActionGroup(keyboard);
    app.applyWorkspace(workspace);
Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.