Action

Update Test 1

Posted by sylumer, Last update 10 months ago - Unlisted

Steps

  • script

    alert("# Current draft content #\n" + draft.content);
    // Original content of draft is shown
    
    
    draft.content = "foo";
    alert("# Modified draft content pre-update #\n" + draft.content);
    // New content of draft is shown
    
    
    draft.update();
    alert("# Modified draft content post-update #\n" + draft.content);
    // Draft loses new content and original content of draft is shown on macOS
    // Draft show new content of draft when run on iOS

Options

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