Action
New Letterboxd Review
Posted by Sean Anderson,
Last update
over 1 year ago
- Unlisted
Creates a new draft for a Letterboxd review.
Steps
-
prompt
promptKey title
promptTitle Input Movie Title
promptMessage What movie are you watching?
promptButtons OK
includeTextField true
textFieldDefault includeCancelButton true
-
script
// List of film tags to be used. const tags = [ "4k", "apple", "apple tv+", "atmos", "christmas", "computer", "criterion", "criterion channel", "dc", "disney+", "documentary", "favorite", "hd", "hulu", "marvel", "miniseries", "mmp", "netflix", "noir", "oscars", "paramount+", "peacock", "pixar", "plex", "prime video", "rewatch", "sd", "theater", "vudu", "with johanna", "with steven", "youtube" ];
-
script
// Creates the prompt window. let p = Prompt.create(); // Adds the prompt window text. p.title = "Input Tags"; p.message = "Add comma-separated tagsā¦"; p.isCancellable = false; // Allows for multiple tags selection. p.addSelect("multiSelect", "Select tags", tags, [], true); // Adds a completion button at the bottom of the prompt window. p.addButton("OK"); let selection = p.show(); // Stores chosen film tags. let tagSelections = p.fieldValues["multiSelect"]; // Sets the chosen film tags to a Drafts tag for future action steps. draft.setTemplateTag("tags", tagSelections);
-
createDraft
template # [[title_text]] [[date]] Rating [[tags]] Review
tags letterboxd, review
folder inbox
flagged false
openInEditor true
-
script
app.displaySuccessMessage("New Review Created");
Options
-
After Success Default Notification None Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.