Giter Site home page Giter Site logo

public-drafts-scripts's Introduction

Public-Drafts-Scripts

JavaScript automation scripts for Drafts 5

public-drafts-scripts's People

Contributors

pdavisonreiber avatar

Stargazers

t avatar Seyoon Park avatar seeumara avatar  avatar ksuudilla avatar David Blue avatar Chris Kurdziel avatar Zach Williams avatar  avatar  avatar Blake Feldman avatar  avatar Matthew Cassinelli avatar Kaylene avatar Nick Lauber avatar Jake Bernstein avatar vancaem avatar  avatar Greirson Lee-Thorp avatar Ed Gauthier avatar  avatar Graham Berks avatar

Watchers

Graham Berks avatar Greirson Lee-Thorp avatar Theodros Yimer avatar Blake Feldman avatar

public-drafts-scripts's Issues

Saving item to "This Evening"?

Is there any way to to use this script to add an item to "this evening"? If I use "on this evening" for a task it doesn't work, though it does seem to remove the portion of the task after "on" it doesn't recognise "this evening" as a date, I'm guessing.

Idea for Mustache: Integer + Basic Math

Sorry, I’m not Javascript programmer otherwise I’d have a go myself.

My idea is based on a packing list concept for use with your ‘Things Parser’ where you can request an integer e.g. How many days is the holiday. Then be able to do basic math e.g. +1, -3, /2, *3 etc with the option to round up or down on a divide. For example:

Days Holiday: {{int:DaysHoliday}}
- Pack {{DaysHoliday/2:Up}} Widgets
- Pack {{DaysHoliday+1}} Yo Yo’s

Lets say:

{{DaysHoliday}} == 7

Then:

{{DaysHoliday/2:Up}} == 4 

I can imagine this could be very useful for lots of people in a lot of scenarios.

Tag names with spaces not working

Using a tag name that has a space in it doesn't get parsed correctly.

For example, I have tags called "this week", "next week" , etc.

What I expected: I expected the below to show up my "this week" tag view in Things.
Test task @this week

Instead, it shows up in my Inbox.

As a temp fix, I made my tag names use underscores instead of spaces, but this seems like a bug.

(Also, wondering if this is also the cause of #3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.