Action
rerun last action
Posted by @jsamlarose,
Last update
about 7 hours ago
Steps
-
script
const recent = Action.recent(); const thisName = action.name; let target; for (let i = 0; i < 5; i++) { if (recent[i] && recent[i].name !== thisName) { target = recent[i]; break; } } if (!target) { app.displayErrorMessage("No previous action found."); context.cancel(); } else { app.queueAction(target, draft); }
Options
-
After Success Default Notification Error Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.