about Custom Status Bar Info

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
kuiwu_zh
Posts: 59
Joined: 24 May 2018 15:38

about Custom Status Bar Info

Post by kuiwu_zh »

Custom Status Bar Info, this is a very good function.

This is my setting:

<prop #image.dimensions> <prop #27> <prop #194> <prop #195>

For example:
F:\Tmp.png
F:\Tmp.lnk

Question 1. For an image shortcut, I hope to get the size of the image and the target pointed by the shortcut.

I hope it to look like this: 200 x 900 F:\Tmp.png

Question 2. I selected a shortcut, and the status bar does not display the file suffix.


I selected a shortcut, and the status bar does not display the file suffix..png
To see the attached files, you need to log into the forum.

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

Re: about Custom Status Bar Info

Post by admin »

1) Some of your properties are of the LNK file, some are of the target of the LNK file. The app cannot know which is meant, so I will add a way for you to make it clear to the app:

Code: Select all

    + Variable <prop ...>: Now there is an alternative <propt ...> which will 
      retrieve the properties from the link target if there is any. For example, 
      if "rocky-3.jpg.lnk" is selected:
        echo <prop #image.dimensions>;  //returns nothing (LNK is not an image)
        echo <propt #image.dimensions>;  //returns "770 x 513"
      If "rocky-3.jpg" is selected then both return the same ("770 x 513").
So in the next beta, you definition should look like this:
<propt #image.dimensions> <propt #27> <prop #194> <prop #195>

2) Strange. I cannot reproduce this here.

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

Re: about Custom Status Bar Info

Post by PeterH »

Seems he has suppressed file extensions for list view - could this be the reason?

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

Re: about Custom Status Bar Info

Post by admin »

I saw that and tried it, but still could not repro it.

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

Re: about Custom Status Bar Info

Post by PeterH »

it was a try :roll:

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

Re: about Custom Status Bar Info

Post by admin »

Thinking about it I guess he has suppressed extensions also in Explorer. That could explain it because the link target is returned by a shell function that obeys to these settings.

PS: I will never understand why anybody decides to hide the most important part of a filename.

kuiwu_zh
Posts: 59
Joined: 24 May 2018 15:38

Re: about Custom Status Bar Info

Post by kuiwu_zh »

Thank you very much.

I found the reason. Now I know that the return values of the following two commands are different.

Code: Select all

  text property ("#ShortcutTarget");
  text property ("#194");


The reason why I hide the suffix is:

1. I know what type of file this is by looking at the icon.
2. Remove the suffix name to make it more concise.
3. My list is sorted by file type, and the files with the same suffix are arranged together. In addition, I have a special column to display the suffix.


Thank you very much.

01.png
02.png
03.png
04.png
05.png
06.png
To see the attached files, you need to log into the forum.

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

Re: about Custom Status Bar Info

Post by PeterH »

OK: I do understand the wish to sort by ext.

I usually see full names, and no ext-column. If sometimes I need to sort by ext I add that col and click it. But now I see ext double.
Here it could be very nice if the full filenames would have a double header: Name *and* Ext :-) (At least there is enough space for that. :roll: )
Result: I see the full name, but can sort by name or ext however it's needed.
(If I use base-name plus extra ext, the full name is split up in a very ugly way.)

I do realize: this would be very unconventional. But helpful :-)

Edit: typo

Post Reply