Action

Add Clipboard to Fantastical

Posted by SingleItemStore, Last update over 6 years ago

Steps

  • script

    var clip = app.getClipboard();
    
    var baseURL = "fantastical2://x-callback-url/parse/?sentence=" + encodeURI(clip);
    
    const cb = CallbackURL.create();
    cb.baseURL = baseURL;
    
    
    if (cb.open()) {
    	console.log("success");
    } else {
    	context.fail();
    }
    

Options

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