macro

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Christian Lempereur
Posts: 14
Joined: Sun Nov 02, 2003 4:36 am
Location: Brussels

macro

Postby Christian Lempereur » Tue Nov 04, 2003 8:39 am

Currently 3 macros available (@inputfilename, @fullinputfilename and @clipboard).
What about a macro to insert current date and time? Something like : @today?

christian

User avatar
DataMystic Support
Site Admin
Posts: 2138
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby DataMystic Support » Thu Nov 06, 2003 6:56 am

Good idea.

What format should it be inserted in? System full date format, system short date format, or perhaps a different macro for each format.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

Christian Lempereur
Posts: 14
Joined: Sun Nov 02, 2003 4:36 am
Location: Brussels

Postby Christian Lempereur » Thu Nov 06, 2003 6:26 pm

I don't really care about the format because textpipe's filters can be used to reformat to whatever is needed.
I would suggest something like YYYY-MM-DD HH:MM:SS

christian

Christian Lempereur
Posts: 14
Joined: Sun Nov 02, 2003 4:36 am
Location: Brussels

Postby Christian Lempereur » Fri Nov 07, 2003 9:38 am

And if it gives date and time, maybe it's not a good idea to call it @today, it may be better to call it @now or @timestamp.

christian

User avatar
DataMystic Support
Site Admin
Posts: 2138
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby DataMystic Support » Fri Nov 07, 2003 11:28 am

The next version will have the following new macros:

@time
Inserts the time with the system-defined long time format
@date
Inserts the date with the system-defined short date format
@datetime
Inserts the date and time with the system-defined short date format and long time format.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 1 guest