topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 12:37 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: TodoTXT - discontinued  (Read 36501 times)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
TodoTXT - discontinued
« on: April 14, 2008, 09:24 AM »
discontinued
My open-source online piano game: https://github.com/musicope/game
« Last Edit: February 23, 2009, 09:53 AM by czb »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #1 on: April 14, 2008, 10:43 AM »
intrigued :)
Tom

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #2 on: April 14, 2008, 10:48 AM »

more info comes later ;)


think I'll have to wait for that cause I'm not having any success on my own  :)
Tom

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: TodoTXT
« Reply #3 on: April 14, 2008, 10:54 AM »
I am sory but I do not have much time :)
but the point is that the plugin path must be:
C:\Program Files\FindAndRunRobot\Plugins\TodoTXT
it is where todo.exe creates txt files...
otherwise you get following error:
Can't open todo directory: C:\Program Files\FindAndRunRobot\Plugins\TodoTXT

So try to type "td ?," (dont forget comma at the end) and you should see list of options ;)
My open-source online piano game: https://github.com/musicope/game

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #4 on: April 14, 2008, 11:41 AM »
thanks :Thmbsup: czechboy

I'm guilty on two counts - farr is elsewhere
and I forgot the comma ;D
Tom

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: TodoTXT
« Reply #5 on: April 14, 2008, 11:49 AM »
yeah.. with the fixed path it is no good. But you do not have to move FARR:) it is enough if you just create empty folder here:
C:\Program Files\FindAndRunRobot\Plugins\TodoTXT
and it will store txt files there ;) I could put there any other fixed path (like C:\TODOTXT) if you like
My open-source online piano game: https://github.com/musicope/game
« Last Edit: April 14, 2008, 11:51 AM by czechboy »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #6 on: April 14, 2008, 02:40 PM »
funny thing czechboy,
it actually created the folder/s in "program files" folder itself !!

I guess it would do the same on a non english xp, e.g. a german one where there's no program files folder - "programme" instead. (?)
That might ruffle a few feathers :D

off to make a list for tomorrow  :up:
Tom

Fruch

  • Participant
  • Joined in 2008
  • *
  • Posts: 5
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #7 on: April 15, 2008, 12:10 AM »
nice work, you've took my idea to the place it should.  :Thmbsup:

suggestions:

adding color support,
a way to configure clrscr after each command,
a way to use enter insted of "," didn't got it until I've read all the thread.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: TodoTXT
« Reply #8 on: April 15, 2008, 02:31 AM »
Thanks for replies :up:

Frunch:
colors: I do not think it is possible.. the only way would be to rewrite whole todo.py into js...or at least rewrite parts of it with colors.. I will take a look and see what I can do about it :)
clrscr: I will do it ;)
enter: Not possible right now, but I hope mouser is working on correction ;) Now only printable characters can be used...

EDIT: I have added clrscr option ;)
My open-source online piano game: https://github.com/musicope/game
« Last Edit: April 15, 2008, 02:48 AM by czechboy »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: TodoTXT
« Reply #9 on: April 15, 2008, 08:40 AM »
what do you need to have added to use the installed directory instead of a hardcoded one?

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: TodoTXT
« Reply #10 on: April 15, 2008, 11:02 AM »
I have no idea :) it is because of py2exe... I actualy dont know python, but I have found one can use __file__ to get path of the file but it works only as todo.py file.. when I tried the same with todo.exe there was an error that __file__ doesnt exist :(
My open-source online piano game: https://github.com/musicope/game

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #11 on: April 15, 2008, 11:21 AM »
are there any examples of what you can do with this plugin? I uses nonstandard installation,even my system is on drive E: at the moment. I will wait until drive issue adressed (I am hoping that you will find time do it :))

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: TodoTXT
« Reply #12 on: April 15, 2008, 11:30 AM »
An example is here:
http://www.youtube.c...com/library/todo.sh/

Well, what I am working on now is rewriting todo.py into todo.js :) I am on 300th line out of 1000 lines :) But it takes some time...  So I do not want to bother making todo.py work ;)
My open-source online piano game: https://github.com/musicope/game

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #13 on: April 15, 2008, 01:11 PM »
thanks czechboy, very helpful demonstration.

At the moment I am using Farr addnote.txt to append text files, but this oen seems more robust with more features

Fruch

  • Participant
  • Joined in 2008
  • *
  • Posts: 5
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #14 on: April 15, 2008, 01:14 PM »
it would be nice if birdseye.py will work too, it give a good overview of what your project is doing.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: TodoTXT
« Reply #15 on: April 20, 2008, 05:31 AM »
I have uploaded completely different version. It is pure python (Rewriting to javascript would take to long). So you need activepython installed to make it work - download here:
http://www.activesta...9d-a722-7a0c2dea2758

Colors and Birdseye should work. Timeline is there also but I do not know if it works or not (someone should test it)

So test it and tell me if everything works fine ;) I was not able to test everything

Settings can be found in the top of fscript.py file. Also you can change there colors.

BTW: now it could probably be possible to implement jabber bot, icq bot, todo cron etc ;)
My open-source online piano game: https://github.com/musicope/game

rbeeger

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 72
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #16 on: April 20, 2008, 12:16 PM »
Strange, but it doesn't work with Python from http://www.python.org/. Does anyone have an idea why the ActiveState distribution has to be used? The python.org-version seems to be integrated into Windows quite well. I can run python scripts directly on the command line. I'd prefer to use that version over the ActiveState one.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: TodoTXT
« Reply #17 on: April 20, 2008, 01:45 PM »
My open-source online piano game: https://github.com/musicope/game

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #18 on: April 20, 2008, 02:44 PM »
it does not work for me either. I have both 2.4 and 2.5

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: TodoTXT
« Reply #19 on: April 20, 2008, 02:46 PM »
I am not coder, but I think you need activescript version of python
My open-source online piano game: https://github.com/musicope/game

rbeeger

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 72
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #20 on: April 21, 2008, 01:40 PM »
Hi czechboy,

The page at mvps.org lists the python.org Python as a valid Windows scripting language.
I suspect that both the python.org and the ActiveState variants use different ids or something like that and that most likely fscript only tries to call the ActiveState one. I'll post a question in the FScript forum about that.

Cheers,
  Robert

rbeeger

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 72
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #21 on: April 24, 2008, 03:05 PM »
Hi, I now installed ActiveState Python and now it works. Great.
One suggestion: If I type an & and the action is executed I'd like the prompt to be reset to td. Now I always need to delete the old action to enter a new one.

Cheers,
  Robert

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: TodoTXT
« Reply #22 on: April 25, 2008, 04:53 AM »
rbeeger: I have changed it. ;)
BTW: you can easily change & to anything you wish by changing enter = "&"  (3rd line) in fscript.py ;)
My open-source online piano game: https://github.com/musicope/game
« Last Edit: April 25, 2008, 04:55 AM by czechboy »

rbeeger

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 72
    • View Profile
    • Donate to Member
Re: TodoTXT
« Reply #23 on: April 25, 2008, 11:13 AM »
rbeeger: I have changed it. ;)
BTW: you can easily change & to anything you wish by changing enter = "&"  (3rd line) in fscript.py ;)
Nice. Thanks.
BTW: Why do we need something to simulate ENTER? Why does it not work with ENTER? Somehow FCalc succeeds to stay the context after pressing ENTER. Or are there any other reasons?

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: TodoTXT
« Reply #24 on: April 25, 2008, 01:31 PM »
it is not supported by jscript SDK. But mouser said that he would implement it.
My open-source online piano game: https://github.com/musicope/game