Go to end of draft A4D

Last update 11 months ago

Move the cursor to a new line at the end of the current draft.


  • script

    let len = draft.content.length;
    // if needed, insert a new line at the end of draft
    if (len > 0 && !draft.content.endsWith('\n'))
      editor.setTextInRange(len, 0, '\n');
      editor.setTextInRange(len, 0, '');
    // activate is not required if the action is launched via a keyboard button


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