Jump to content

seishonagon

Member
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

195 profile views

seishonagon's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. Hey @giovanni this is great! I'm a long time Alfred user dipping my toes in todoist and this workflow will be very helpful. I'm not sure why but upon initial installation Todoist did not detect any of my today and / or late tasks. However, after I moved a few tasks around by changing due dates, it started llisting my today tasks and overdue tasks. However, it won't list all tasks (!3 will just revert to default search for the string "!3") Here is the debug log from Alfred: [08:03:21.791] Logging Started... [08:03:27.802] AlfreDo[Script Filter] Queuing argument '(null)' [08:03:27.986] AlfreDo[Script Filter] Script with argv '(null)' finished [08:03:27.992] ERROR: AlfreDo[Script Filter] Code 1: 0 days from last update [] [] [] Traceback (most recent call last): File "/Users/paul/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.3922CD67-5DB7-48BC-ACE9-AB1517287EF6/alfredo-query.py", line 421, in <module> main () File "/Users/paul/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.3922CD67-5DB7-48BC-ACE9-AB1517287EF6/alfredo-query.py", line 331, in main dueDate = datetime.strptime(task ['due']['date'], "%Y-%m-%dT%H:%M:%S") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/_strptime.py", line 568, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/_strptime.py", line 352, in _strptime raise ValueError("unconverted data remains: %s" % ValueError: unconverted data remains: Z I'm not sure what's going on with the Code 1 : 0 days from last update? Thanks for your help!
  2. I've built a quick and dirty project management system to quickly reach my project documentation. It relies on Hookmark : each project has a .hook file with its title, and a link to the project folder on my mac. To list projects, I simply list all the .hook files in my "_project_list" folder. It works well for my purposes, but I have a small snag: i tag my projects "pnl" or "wrk" and I'd like to be able to list all .hook files in the folder WITH A GIVEN TAG. Today, I list the folder using a heavily modified fork of @vitor's "Recently Added" script (https://github.com/vitorgalvao/alfred-workflows/tree/master/RecentlyAdded) But I can't figure out how to filter on the tags. I've tried looking at other ways of listing files in a given folder, but so far my search has turned up empty. .... I thought that the new automations in Alfred 5 would help, but so far, no luck. Any help would be appreciated ..
  3. I have a workflow where some AppleScript generates a full path to a .md file, to which I want to append some text. The full workflow relies on using the Hook.app, and Vitor Galvao's "Recent Downloads" script (https://github.com/vitorgalvao/alfred-workflows/tree/master/RecentDownloads) The AppleScript returns a full POSIX File name (i.e: /Users/paul/Projects/wrk/new project/new project) without the file extension, which I store in a variable named "project" I then have an "Append To File" action, using {var:project}.md as the file name. This works perfectly, except that the file I'm writing to is: /Users/paul/Projects/wrk/renew project/renew project?.md Notice the additional "?" An earlier iteration of the script output the full name of the file WITH THE EXTENSION from applescript, and the "Append To File" action (using {var:project} as the full file name would write to : /Users/paul/Projects/wrk/renew project/renew project.md? The weird thing is - if I use a "Display" action, or a "Copy To Clipboard" action on {var:project}, I get the name WITHOUT THE ?. So the interrogation point seems to be added to the "Append to File" action. I'm really not sure if it's a bug or if I'm doing something wrong...
  4. Oh wow! Thanks! That'll save me some mind numbing slog. To give you an example of my own script-fu, I've just spent 2 hours figuring out how to pass arguments properly to the "Run Script" action in Alfred Workflow ... EDIT: for future reference (mine, specially) - don't forget to set "Argument Optional" in the script filter or the list of files won't appear
  5. Hi Vitor, I've made very good use of your workflow in conjunction with the Hook App. I have it index a folder with a bunch of files that point to all of my projects, and voila - instant project management tool! I just need to figure out an option to list the files simply in alphabetical order and I'll be happy. If you're interested, here is the small post i made about using your worfkflow: https://discourse.hookproductivity.com/t/using-hook-files-to-maintain-a-list-of-current-projects/2884?u=seishonagon Thanks!
  6. I have had a very similar issue, with a similar resolution: projects folder with 3 subfolders: pnl, tpl, wrk wrk and tpl can be reached with Alfred using the ' shortcut. pnl can't. pnl passes the "troubleshooting" step with all green checkmarks pnl can be reached by navigating from ~/Documents ... in Alfred moving pnl out of projects and into ~/Documents solves the issue. moving pnl back into projects, issue stays solved ... I don't know how to check if spotlignt has indexed the files or not, but for the record, this was an upgrade from Catalina on day 2 of Big Sur availability, with Alfred already installed for a long time before that. the projects, pnl, tpl and wrk structure however was brand new.
  7. I'm not a programmer but I play one at work ...

×
×
  • Create New...