[TxMt] GTD2 issues

Michael Gregoire mgee at gwi.net
Wed Oct 11 00:14:19 UTC 2006


Mike,

Here's the code for the those commands.

Thanks for your help.

Mike



Done
--------

#!/usr/bin/env python
import sys, os

oldtask = os.environ['TM_CURRENT_LINE']
if oldtask[0] != "^":
	sys.stdout.write("+  " + oldtask[3:])
else:
     sys.stdout.write(oldtask)


Wait
-------

#!/usr/bin/env python
import sys, os

oldtask = os.environ['TM_CURRENT_LINE']
if (oldtask[0] != "+") and (oldtask[0] != "^"):
	sys.stdout.write("<- " + oldtask[3:])
else:
     sys.stdout.write(oldtask)

Unwait
----------

#!/usr/bin/env python
import sys, os

oldtask = os.environ['TM_CURRENT_LINE']
if (oldtask[0:4] == "WAIT"):
	sys.stdout.write(oldtask[5:])
else:
	sys.stdout.write(oldtask)

Delegate
-----------

#!/usr/bin/env python
import sys, os

oldtask = os.environ['TM_CURRENT_LINE']
if (oldtask[0] != "+") and (oldtask[0] != "^"):
	sys.stdout.write("-> " + oldtask[3:])
else:
     sys.stdout.write(oldtask)




On Oct 10, 2006, at 4:50 PM, Mike Mellor wrote:

> Mike -
>
> I'm kind of stumped.  What code do you see in the bundle editor for  
> any one of these tab commands?  I'm wondering if I uploaded bad  
> files...
>
> Mike
>
>
> On 10/10/06, Michael Gregoire <mgee at gwi.net> wrote: Mike,
>
> I'm trying to use wait, unwait, done & delegate actions, yet none of
> them work. I type the shortcut letter such as 'w' and then press tab,
> this merely replaces my task with a blank line.
>
> Actually, I just tested manually choosing the action from the bundle
> menu and it seems that the shortcuts work fine, it's the actions that
> are not working. Choosing the action from the menu does the same  
> thing.
>
> Any info would be helpful.
>
> Thanks
> Mike
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list