name of curtitle

Features wanted...
Post Reply
PeterH
Posts: 2827
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

name of curtitle

Post by PeterH »

More a question than a wish: should the variable curtitle be renamed to curname - to match the name of the column 'Name' it's displayed in? As curext matches column Ext?

And another question: I can use <dyyyy-mm-dd>, but not <myyyy-mm-dd> - does this have a reason?

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

Re: name of curtitle

Post by admin »

PeterH wrote:More a question than a wish: should the variable curtitle be renamed to curname - to match the name of the column 'Name' it's displayed in? As curext matches column Ext?
Yes, I like curname. But I have to leave curtitle in as well for compatibility...
PeterH wrote:And another question: I can use <dyyyy-mm-dd>, but not <myyyy-mm-dd> - does this have a reason?
In which context? <m...> needs a file to refer to.

PeterH
Posts: 2827
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Post by PeterH »

To curname: I have no problem with duplicates. And if you (and jacky in XYwiki etc.) stop documenting the old name, or define as 'outdated' or such, you maybe can delete it in 1 year or so...

To mod-date: yes, a file is selected, it's definitely a problem of the format!
2 lines in script:
<br>dhh:mm:ss = <dhh:mm:ss> <ddd.mm.yy> / <dyyyy-mm-dd>
<br>mhh:mm:ss = <mhh:mm:ss> <mdd.mm.yy> / <myyyy-mm-dd>
2 lines in display (thanks to Mark&Copy :D )
dhh:mm:ss = 21:31:54 10.02.08 / 2008-02-10
mhh:mm:ss = 14:54:51 10.02.08 / <myyyy-mm-dd>
:arrow: <mhh:mm:ss> <mdd.mm.yy> are ok, while <myyyy-mm-dd> isn't!
(It's date and time of the currently used scriptfile :) )

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Modified: looks like it's just that only the first occurence is replaced, and it stops there; No problem of format.
At least to me, the second line does this :
mhh:mm:ss = 16:29:14 <mdd.mm.yy> / <myyyy-mm-dd>

If you get the two first patterns replaced, then I don't know.
Proud XYplorer Fanatic

PeterH
Posts: 2827
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Post by PeterH »

jacky is almost right, here it's so: only the first 2 references to a <m...> variable are resolved - all following seem not to be recognized. (even on following lines, or in following command...) No matter of the form, or if it is date or time.
No problem like that with <d...> vars.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

PeterH wrote:jacky is almost right, here it's so: only the first 2 references to a <m...> variable are resolved - all following seem not to be recognized. (even on following lines, or in following command...) No matter of the form, or if it is date or time.
No problem like that with <d...> vars.
Well, you're lucky then. For me it's only one, the first one, that's it.
This :
::copytext <mhh:mm:ss> <mhh:mm:ss> <mhh:mm:ss> <mhh:mm:ss>
gives me this :
16:29:14 <mhh:mm:ss> <mhh:mm:ss> <mhh:mm:ss>

Even with a fresh install.
Proud XYplorer Fanatic

PeterH
Posts: 2827
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Post by PeterH »

...quite strange. You are sure that you didn't reference any <m...> before in your script?
On the other side: I have no idea for the reason - but I would understand your version (one ok, then bad) better than mine (2 ok, then bad). But let's wait for Don...

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

Post by admin »

PeterH wrote:...quite strange. You are sure that you didn't reference any <m...> before in your script?
On the other side: I have no idea for the reason - but I would understand your version (one ok, then bad) better than mine (2 ok, then bad). But let's wait for Don...
Resolved the first 2 ?? Hmmm... only 1 here. Anyway, fixed it: now all are resolved.

Post Reply