Templates for new files/folders

Features wanted...
Post Reply
peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Templates for new files/folders

Post 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 ').
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Templates for new files/folders

Post 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.

peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Post 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...
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post 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???

peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Post by peterbonge »

I would prefer "all" since it is common for file managers.
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post 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...

Gandolf

Post 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.

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post 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

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

It's done! BETA v3.60.0012 has it. Nice feature, I'll even use it myself! :D

peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Post 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?
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post 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:

Post Reply