Jump to content

_mk_

Member
  • Posts

    163
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by _mk_

  1. There is something weired. The packaged extension includes all files. But the copied source only included the first 10 files in the main workflow directory. Thje rest was missing.
  2. Bash Workflow Handler As my OmniFocus workflow does most of its work in the shell, I created a bash workflow handler to reduce the overhead when creating feedback xml and dealing with preferences. Download Download it from GitHub and put it into your workflow directory. Usage Import handler into your script . workflowHandler.sh Create feedback XML # create feedback entries addResult "uid" "arg" "title" "subtitle" "icon" "valid" "autocomplete" # get feedback xml getXMLResults Get BundleID BUNDLEID="$(getBundeId)" Get data dir DATADIR=$(getDataDir) Get cache dir CACHEDIR=$(CACHEDIR) Store preferences # store volatile setPref "key" "value" 0 # store non-volatile setPref "key" "value" 1 Read preferences # read volatile pref MYVAR=$(getPref "key" 0) # read non-volatike pref MYVAR=$(getPref "key" 1)
  3. Thanks for the update. I'll try it as soon as I am back home.
  4. Should be tmp = "#{Time.now.strftime('%m-%d-%Y %H:%M')}\n#{s}"
  5. Your workflow is really usefull when developing own workflows. With the source export I don't have to sync my git repo with the workflow folder manually. That's great. Recently, I moved all image ressources of my workflow into an img subfolder. Unfortunately, your export script does not include subdirectories. I am too inexperienced with Python to fix it on my own. Could you please modify your export script to also include directories? I would also prefer not to include the export.json in the packaged workflow file. As it is only usefull on my machine I do not really want to install a file with my local paths at someone else's machine.
  6. The workflow uses the OF cache for most of the searches. I have to check what happens to the cache when one opens two different OF libraries.
  7. This is the default behavior if no results have been found. Which search did not return any results?
  8. The only way I see to display a long task title is to put it into the search box. The content that fits into a result cell depends on the width of your Alfred window. There is nothing I can do about it. The same applies for the notes. I could include one more line for the note but if it's too long it gets truncated. I also doubt, that I can handle formatted rich text in a usefull way. The only reasonable solution to me is to show a note icon somewhere so that one knows that there are more information available in OF.
  9. I scripted a quick and dirty version of the task details screen. Unfortunately, I cannot use the right key to show the details like with the file actions. But I added a back button to go back to the last search. Is this close to what you imagined?
  10. The category search should already be case insensitive. There maybe an issue with non-ascii characters due to the missing ILIKE in sqlite. This afternoon I also had a similar idea of a task detail view that would also include the available actions (see https://github.com/markokaestner/alfred2/issues/12). It's on my list for the next version. The review is a good idea and should not be that much effort. But afaik OF only supports reviewing of projects not tasks. The question would be where to include it in the workflow. When reviewing a project I usually check the tasks, remove obsolete ones, add new ones and so on. So from the usability standpoint it would make sense to have the review option when viewing the tasks of a project maybe as first result. What do you think?
  11. In the meantime I prefixed my workflow actions with a dot to make them the top results. But I still hope that Alfred will learn workflow preferences with one of the next updates.
  12. Version 1.3 is available. It includes contexts and shiny new task icons. The latter ones were inspired by Benzi's great Todo workflow. For a full list of changes refer to the changelog in the first post.
  13. OK. For security reasons I understand your decision. Would it then be possible to include the version in the file name or maybe preselect the file in Finder to make it easier to find the download? I tend to fill my Download folder and even sorting the files by modify date does not ensure that the sop most file is the downloaded workflow.
  14. I would also be happy, of Alfred would learn workflow preferences. I deactivated anchor search in Alfred and when I try call my OmniFocus workflow with of... it appears as last results in the list.
  15. Does anybody know a perspective icon that complements OF's project and context ones? The perspective icon that ships with OF is really ugly.
  16. Would it be possible do an open <workflow> at the command line after the workflow was downloaded? That way one would not have to go to the Downloads folder and search for the download to double click it manually. I also recognized, that you rename the workflow to its Alfred name. Mine is called OF-TaskActions.alfredworkflow on the server but ended up as "OF / TaskActions.alfredworkflow in my Downloads folder. Is there a special reason to do the renaming? I thought Allayoop would just do a curl to download the stuff...
  17. @twinpeaks + thh Maybe an additional action for the perspective + context thing would be the best solution. I'll have a look at it. @FiXER I only have a decent number of active projects at a time, so remembering their names and searching case sensitive was not a problem for me. But I can make the search case insensitive with the next release. My most used perspectives also only have short names, so typing them was not a big deal for me: 1 ... daily review 7 ... weekly review 31 ... monthly review But I can add a perspective search too, to quickly find perspectives with longer names.
  18. The context search is planned for version 1.3 that I hope to finish sometime next week. I'm not sure about the context-perspective combination ... have to think about it. I could imagine something like: Enter perspective > Choose from available contexts > Show tasks. But I am not sure if the extra step will be annoying after some time?
  19. I found a bug that prevented task from being shown and selected in OF if the current OF view settings did not already show the task. I modified the responsible AppleScript to open a new OF window to show the task and adjust the view settings accordingly.
  20. It's always the same: Things vs. OmniFocus. I tried both and sticked with OF. I always felt that Things is not flexible enough for my needs. But this is maybe because I am no GTD person but prefer planning my work with Agile Results (http://gettingresults.com). It was easier to implement my workflow with OF than it was with Things.
  21. The next update arrived. You can now search for projects and show their available tasks. From there, the known task actions (open in OF, complete, flag) are also available.
  22. The workflow was updated to version 1.1 See the first post for the change log.
  23. OmniFocus Task Actions Alfred 2 Workflow Master your OmniFocus tasks from Alfred Features Use Alfred to: Search for tasks Search for folders Search for projects Search for contexts Search for perspectives View tasks of a folder View tasks of a project View tasks of a context View tasks of a perspective View Inbox tasks View tasks completed today Act on your tasks:Check/Uncheck Flag/Un-flag Change Project Change context Defer start/due date Append a note Open in OmniFocus Installation Download and import into Alfred 2. Usage Keywords .of - Show list of available commands Manage your folders .offf [part of folder name] - Search for folders ENTER - Show available tasks of selected folder CMD+ENTER - Focus folder in OmniFocus .oftf [folder name] - Show available tasks of folder ENTER - Show task details CMD+ENTER - Focus task in OmniFocus Manage your projects .offp [part of project name] - Search for projects ENTER - Show available tasks of selected project CMD+ENTER - Focus project in OmniFocus .oftp [project name] - Show available tasks of project ENTER - Show task details CMD+ENTER - Focus task in OmniFocus Manage your perspectives ​.offv [part of perspective name] - search for perspectives ENTER - Show available tasks of selected perspective CMD+ENTER - Open perspective in OmniFocus .oftv [perpective name] - Show tasks of perspective ENTER - Show task details CMD+ENTER - Focus task in OmniFocus ​Manage your contexts .offc [part of context name] - Search for contexts ENTER - Show available tasks of selected context CMD+ENTER - Focus context in OmniFocus .oftc [context name] - Show tasks of context ENTER - Show task details CMD+ENTER - Focus task in OmniFocus ​Manage your tasks .offt [part of task name] - Search for tasks ENTER - Show details of selected task .ofti - Show tasks in Inbox ENTER - Show details of selected task .ofdt - Show tasks completed today ENTER - Show details of selected task Act on your tasks Settings !oftheme - Switch between dark and light theme Hotkeys ​SHIFT+CTRL+I - Show tasks in Inbox SHIFT+CTRL+D - Show tasks done today SHIFT+CTRL+T - Search for task SHIFT+CTRL+P - Search for project SHIFT+CTRL+C - Search for context SHIFT+CTRL+V - Search for perspective SHIFT+CTRL+F - Search for folder Changelog Version 3.1 (2013-12-26)Fixed "Tasks done today" showing wrong tasks new feature "Search tasks" to find tasks by part of their names Version 3.0 (2013-06-06)complete re-write of the workflow to make it easier to maintain and more reliable workflow now uses a single script filter instead of 8 streamlined scripts and removed duplicate code Version 2.4 (2013-04-23)search for folders show tasks in folder use CMD to focus project, context, folder, perspective in OmniFocus instead of showing the tasks bugfixes Version 2.3 (2013-04-20)fix no results when searching for german umlauts (and maybe other accented characters Version 2.21 (2013-04-20)Bugfixes Version 2.2 (2013-04-20)Bugfixes Hotkey support new task actions:add/append note (thanks to uscmeche) change project change context Version 2.1 (2013-04-18)search for perspectives in context, project and perspective search all contexts/projects/perspectives are shown if no search string is entered the flagged status of a task is visible in all task result views the database is queries instead of the project metadata to find projects to improve performance task details link to project and context view task's start and due date can be deferred from task details view Version 2.0 (2013-04-12)show inbox tasks show tasks completed today new task detail view with all task actions unflag and uncheck tasks support for a dark and light icon theme new icons Version 1.3 (2013-04-09)actions are prefixed with a dot to move workflow actions to top of search results in Alfred search for contexts show available tasks of a context project search is now case insensitive new icons for contexts/projects task state icons:transparent: normal task orange: due soon red: overdue bugfix: due dates did not show up correctly if a start date was set for a task Version 1.2.1 (2013-04-07)bugfix: tasks did not open in OF if it was not already visible in the current OF viewtasks open in a new OF window now and focus the containing project Version 1.2 (2013-04-07)search for projects show available tasks of a project Version 1.1 (2013-04-04)show start date, due date and context as task subtext added Alleyoop support Version 1.0 (2013-04-03)initial release Plans ignore case when searching for projects search tasks by context search tasks by perspective + context search for contexts search for perspectives open tasks in OF in new window rather than using the foremost one query tasks by perspective from database and not from OF window add tasks to OF (not sure about this one as there are already awesome workflows available ) show inbox tasks
×
×
  • Create New...