Page 1 of 1

command line switch "-m" to run a macro for a give

Posted: Wed Nov 02, 2005 3:26 pm
by FFSparky
Since I use TextPad on a daily basis I also edit my journal with TextPad and I would like to set up a macro that positions me to the end of the file inserts a date and a new line for me to start a new day's log.

After searching I found several hits for the ability to run a macro from a command line. Unfortunately many these keep referring people to Macro Scheduler" instead of just us just pushing for an enhancement, as there seems to be enough of us who would like to have this feature with something we already have.

Hopefully there are more of you out here like us and would like to see this feature in a hopefully soon to be released version.

Posted: Wed Feb 07, 2007 9:39 pm
by rshawiii
does anyone know if this is / will be in textpad?

Posted: Wed Feb 07, 2007 10:25 pm
by Bob Hansen
Make a text file
Put this on the first line:
.LOG
(That's a period followed by uppercase LOG)
Save the file with txt extension.

When ever you open the file, it will be data/time stamped at the bottom of the file. Press CTL=End to go to the next line to do your typing.

Posted: Mon Mar 26, 2007 10:33 am
by kdaube
I have tried this idea and found the following in TextPad 5:

Switching Word Wrapt On or Off inserts a new time/date stamp!

So if the file is kept open, with this switch a new stamp can be created, not only if the file is opened.

Klaus Daube

Posted: Mon Mar 26, 2007 10:37 am
by kdaube
However, the function (it is described in the Help with keyword log) would be more useful (at least for Europeans?) if the format would be date then time.

Klaus Daube

back to ... command line switch "-m" to run a macr

Posted: Mon Mar 26, 2007 12:37 pm
by cv
Couldn't find the 'vote' buttons, but count me in for 'important'

Posted: Wed Apr 18, 2007 9:01 pm
by FFSparky
I have used Bob's suggestion, but I have also come across other situations that having the ability to run a macro when opening a file would be very useful.

I hope this is given some consideration for a 5.? release.

It's good to see TextPad being updated again! :D