Page 1 of 1

Templates for new files/folders

Posted: 28 Aug 2004 19:21
by peterbonge

Code: Select all

      Here's the new section and the keys:
        [NewTemplates]
        Folder0=New Folder    'hard text
        Folder1=yyyymmdd      'date/time sensitive
        Folder2=yyyy-mm-dd    'date/time sensitive
        File0=New Textfile    'hard text
        File1=yyyymmdd        'date/time sensitive
        File2=yyyy-mm-dd      'date/time sensitive
      Note that you can also define textual parts of the date/time sensitive
      templates, not just dates. To do that you have to backslash all
      literals, for example:
        File1=\T\e\x\t yyyy-mm-dd_hh-nn-ss
      would create a file auto-named "Text 2004-06-07_10-05-25.txt".
It would be nice if all entries would be date/time sensitive and if it wouldn't be so circumstantially to define textual parts. Why don't you change the date/time parts to "#dd", "#mm", "#yyyy" and so on? Then you could seek for these parts and normal text could be entered without backslashes. Another idea would be to put normal text into quotation marks (" or ').

Re: Templates for new files/folders

Posted: 28 Aug 2004 21:51
by admin
Well, I think that would all be a touch too much. It's a hidden feature anyway, just meant for hardcorers like you. And a hardcore man must be able to handle some backslashes.
Apart from that, it's real smooth internally the way it is. If I would change it to what you suggest, I would have to do some nasty hacks, the app would be around 3KB larger, some microseconds slower, eat more RAM etc.... it's just not worth it.

Posted: 28 Aug 2004 22:54
by peterbonge
OK, it really may be too much to change the date/time format.
But why don't making all entries date/time sensitive? Is this also too much? I just want to make new dated folders with Ctrl+N...

Posted: 28 Aug 2004 23:04
by admin
peterbonge wrote:But why don't making all entries date/time sensitive? Is this also too much? I just want to make new dated folders with Ctrl+N...
Ah, I see what you mean. That's a good idea as far as I see now. Just one thing: you will have noted that the non-date/time sensitive entries automatically enter rename-mode after being created. What we gonna do with this now? All/none/some into rename-mode???

Posted: 28 Aug 2004 23:17
by peterbonge
I would prefer "all" since it is common for file managers.

Posted: 28 Aug 2004 23:31
by admin
peterbonge wrote:I would prefer "all" since it is common for file managers.
Fine with me. It's a pity that so few people give their voice to this forum... they will have to eat the shit we feed them :wink:

But now New Folder will have to be \N\e\w \F\o\l\d\e\r in the INI, hmmm... your first post in this topic is starting to make sense... I have to think about that...

Posted: 29 Aug 2004 09:45
by Gandolf
I read the forum (almost) every day but don't see any point in commenting on something I am not concerned about (compressed audio formats for example, audio is either CD, DAT or DAB, I cannot stand these compressed audio formats!!!). The Folder renaming suggestions doesn't concern me since I use TrackerV3 as a file viewer and hardly ever create new folders.

Posted: 29 Aug 2004 11:15
by admin
Gandolf wrote:I read the forum (almost) every day...
Wow, I really appreciate committed users!

Conc. the renaming: it needs some care because of potential backward compatibility issues... I won't do it today or tomorrow so I'm still open for suggestions and comments from other users...

Donald

Posted: 30 Aug 2004 12:51
by admin
It's done! BETA v3.60.0012 has it. Nice feature, I'll even use it myself! :D

Posted: 30 Aug 2004 19:35
by peterbonge
Thanx! Works great. But I think you forgot some backslashes on the history page (Folder0/File0)...
And what is the version=1 for? Are you planning another version/change?

Posted: 30 Aug 2004 20:03
by admin
peterbonge wrote:But I think you forgot some backslashes on the history page (Folder0/File0)...
Yep, thanks!
peterbonge wrote:And what is the version=1 for? Are you planning another version/change?
Well, not exactly planning, it's just an interface to a potential future... you creative forum folks taught me that nothing is safe from improvements :wink: