avatar image

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

Login with username, password and session length
  • Monday May 17, 2021, 12:36 pm
  • 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - pikamookie [ switch to compact view ]

Pages: [1]
i'd love to beta test!

Find And Run Robot / Re: appending text to todo.txt file?
« on: July 20, 2006, 10:57 AM »
gotcha.  can't wait to see the final exe!

Find And Run Robot / Re: appending text to todo.txt file?
« on: July 19, 2006, 02:10 PM »
that looks like exactly what i'm looking for!  hmmm, but how do i make this work with FARR?  i tried pasting the code into the link but then i get the .exe and nothing happens...  :)

thanks for all the replies btw!  i love FARR.  it's no doubt the most important app on my computer. 

Find And Run Robot / appending text to todo.txt file?
« on: July 19, 2006, 10:47 AM »
Hi there.  I'm not great with .bat files or command lines, but is there an easy way to bring up FARR, type in "todo feed dog" and then have "feed dog" with date and time put into my todo.txt file?  I found something similar for slickrun, however, I dont' know how to implement it with FARR.  Any suggestions?  Thanks!
:: GTD Wannabe
:: Command to append text to a file
:: 22 Jan 06
:: In response to:
:: First param is name of the file, including extension
:: Second param is the text to be appended to the file
:: Assumes that this command will be run in the same directory as your
target text files

:: Filename is first param
set filename=%1%

:: Remove the quotation marks from the second parameter
set text=%2%
set textclean=%text:~1,-1%

:: Write the current date/time and second parameter text to the
appropriate text file

:: These two lines put the date/time and text one one line.  Remove the
:: if that's what you want.
::echo %date% %time% %textclean% >> %filename%
::echo. >> %filename%

:: These lines put the date on a line, time on a line, and text on a
line.  Add in :: if you don't
:: want it done this way.  See block immediately above.
echo %date% >> %filename%
echo %time% >> %filename%
echo %textclean% >> %filename%
echo. >> %filename%

Pages: [1]