You are here: PSPad forum > English discussion forum > Date/filename in templates

Date/filename in templates

#1 Date/filename in templates

Posted by: ruryop | Date: 05/12/2012 13:15 | IP: IP Logged

Hey,
Is it possible to include into template some kind of code, that when you use it, it'll write current date/filename into new file?

Cheers

Options: Reply | Quote | Up ^


#2 Re: Date/filename in templates

Posted by: alesc | Date: 05/14/2012 15:16 | IP: IP Logged

I don't think so but you could for sure script something like that.

1. Create your template using some syntax to identify
fields to modify.
e.g.
<date> <filename>
2. Write some script that opens that template, searches for the fields to modify and modifies it with current date and specified filename.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2014 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák