Jump to content

Canor

Member
  • Content Count

    6
  • Joined

  • Last visited

Posts posted by Canor

  1. Github repository

    Workflows

     

    I came to find out there actually is another workflow that's about 9 months old only after I finished making a new one, but since mine is slightly different so I'm going to post it anyway.

     

    USAGE:

    2d event [[today][tomorrow] on [11][feb 11][11 feb 2018][wed][wednesday][2/11]] [at [9][9:30][pm]] [@[list]] [#[tag]] [[*][**][***]]

     

    You can set due date, due time, list, tags, priority in near-natural-language way. Order between due date, due time, list, tags and priority doesn't matter as long as event is located frontmost.

     

    Require Python3 installed.

     

    Caveat is, Python script isn't properly fast enough(and my coding skill isn't good enough) to handle large inputs like this right away, pausing .5 seconds before pressing return key is recommended. Otherwise metadata may not be fully included.

     

    That being said, I'm looking for someone that could give me ideas to decrease these intervals Python requires to break down inputs and convert it to tasks. Though this script can be improved, since this workflow actually works, I'm posting this workflow here rather than Workflow Questions and Helps. Please let me know if anything's against community rules(or maybe admin can take this down)

  2. Search works, but creation does not.

     

    Here is the log from console.

    Starting debug for 'Notes (iCloud)'
    
    [2016-06-24 10:35:09][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
    [2016-06-24 10:35:09][ERROR: input.scriptfilter] Code 1: execution error: mkdir: /Users/Canor/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1)
    

    The thing is, the name of my drive on Mac mini is 'Canor\ 1' and on macbook, it's 'Canor'. So they have different names and once I sync one with another, it seems the directory path also gets synced which causes at least one of them won't work.

     

    And I can't seem to find where to modify this code… thanks.

×
×
  • Create New...