Action

launcher example/instance: main menu

Posted by @jsamlarose, Last update about 1 month ago - Unlisted

This is an instance of a launcher. Requires this core script to be installed.

Steps

  • script

    // ========================================
    // URL LAUNCHER SCRIPT with CONDITIONAL ITEMS: CONFIG
    // ========================================
    
    // ---------- CONFIG ----------
    const LAUNCHER_DRAFT_TITLE = "::main menu";
    const LAUNCHER_TAG = "launcher";  // Add this tag to all your launcher drafts
    
    const TITLE_FONT = "'Hoefler Text','Baskerville','Garamond','Times New Roman',serif";
    const MONO_FONT = "'Roboto Mono','SF Mono',ui-monospace,Menlo,Consolas,monospace";
    
    // Specify calendars to check for events (empty array = check all calendars)
    // Examples: ["Calendar", "Work", "Personal"]
    const CALENDARS_TO_CHECK = [];
    
    // Enable debug logging
    const DEBUG = false;
  • includeAction

    name

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.