Jump to content

benigno

Member
  • Content Count

    11
  • Joined

  • Last visited

  1. Hello, One more thing, although I am not sure I have done something wrong. I have used journal several times, and they all insert an extra line. Commands issued: nf Prueba 1 nf Prueba 2 nf Prueba 3@ Results: # 2014-05-13 Tuesday 13 May 2014 10:36:03 Prueba 3 # 2014-05-13 Tuesday 13 May 2014 10:35:51 # 2014-05-13 Tuesday 13 May 2014 10:35:51 Prueba 2 # 2014-05-13 Tuesday 13 May 2014 10:35:36 # 2014-05-13 Tuesday 13 May 2014 10:35:36 Prueba 1 Duplicating in each case the first line in the file and then prepending the new journal entry as you can see. Cheers, and thanks again, Benigno.
  2. Hello 40-02, Sorry for the late reply, I have been working on this for quite some time, and so far I haven't been able to fix it, perhaps someone can help us there. I'll update as soon as I can find out how to fix it though. Cheers, Benigno.
  3. Hello Carlos, Thank you for this great workflow. I need to know, is there any way I can set it up to avoid problems with accented words ? I take many notes in Spanish and they get a bit screwed up in the text file. nf Canción, Comía, Mamá, Música, Niño becomes: ---- Monday 12 May 2014 15:41:09 ---- Canci—n, Com’a, Mam‡, Mœsica, Ni–o... Thanks a lot, Benigno.
  4. Thank you, if nothing else, it feels good not to be the only one... Cheers mate.
  5. Ok, I have uploaded an updated version, with the added functionality as requested: Updated to Add Deletion of Todos when pressing CTRL upon a task. it is working fine for me, but let me know if it gives you any trouble. Cheers, Benigno.
  6. Ok, found the error, it was the white space between the = sign and the variable and expression.
  7. Hello, I am trying to do the following for my little workflow http://www.alfredforum.com/topic/2981-todotxt-workflow/ NUMBER = $(echo {query} | sed 's/do //g') echo {query} | sed 's/do //g' echo $NUMBER Basically I need $NUMBER to be able to do this command where variable $TODOTXT_PATH is already defined. $TODOTXT_PATH/todo.sh del $NUMBER Anyway, the second line, works nicely and returns the 'edited' query without the do part. But the assignment to variable NUMBER does not seem to work (ie echo $NUMBER returns nothing it seems). This seems to work well when I do it in my terminal (although instead of query I use "do 19" which is how query would return the value. I am pretty new here and I am sure this must be pretty simple and basic, but if you can please help me, I have been putting a lot of time into this already to stop at this. Thank you in advance, Benigno. PS: In case there is a more simple way, I just want to execute the shell script using only the second word in {query} as a parameter.
  8. You are right, I will try to work it in... I am not an expert programer though, I will let you know when I have it.
  9. Sorry for the delay on the reply, I have been out of internet for a long time. I ussually just do like I do on the terminal: t del # where # is the number of the todo that you need to delete, and as you know all numbers appear next to each task on the list. I thought it really didnt add that much to add the extra flow when it was already there by default. Do you really think its worth it ? Benigno.
  10. Hello all, I have created a workflow for Todo.txt (which you can check out here: http://todotxt.com You can find all the information here https://github.com/benignoc/alfred-todotxt Please let me know if there are any issues improvements etc, and I'll do my best to keep it all updated. In this workflow, you are able to list, and fuzzy search on all items, being shown as items in Alfred. Selecting an existing one, allows you to "DO" them. All other commands are directly parsed to todo.sh with -f flag (to autoconfirm). To make it work, you will need to set up a couple of paths directly on Alfred. The documentation is here https://github.com/benignoc/alfred-todotxt But ask away if you have any troubles. EDIT: Updated to Add Deletion of Todos when pressing CTRL upon a task. Please let me know if its good for you. Benigno.
×
×
  • Create New...