<curfolder> in title actually shows previous folder

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

<curfolder> in title actually shows previous folder

Post by terrytw »

Hi I found that you can customize the title, it was <path> <app> <ver>
Now I changed it to <curfolder> <app> <ver>.
But it always shows the previous folder instead of current folder....

Version 24.20.0104
Windows 11 22H2 zh-cn

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

Re: <curfolder> in title actually shows previous folder

Post by admin »

Indeed. These variables were not meant to work in that context originally. But I think I could make them work now. Next beta...

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: <curfolder> in title actually shows previous folder

Post by jupe »

You should have used <folder> anyway for the titlebar.

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

Re: <curfolder> in title actually shows previous folder

Post by admin »

Gosh, you're right.

The topic of this thread is even explicitly mentioned in the Help:
And most other XYplorer native variables, e.g. <date>, <xydrive>, <get pane>, <get userrole> etc., but not e.g. <curfolder> (which in this context will always show the previous folder).
In that case I will remove that "fix". Less is more.

No, I'll leave the fix and update the Help. <curfolder> works much better with VFOs.

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: <curfolder> in title actually shows previous folder

Post by terrytw »

Sorry next time I will check help file first...

Post Reply