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.
about Custom Status Bar Info
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
-
admin
- Site Admin
- Posts: 64877
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: about Custom Status Bar Info
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:
So in the next beta, you definition should look like this:
2) Strange. I cannot reproduce this here.
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").
<propt #image.dimensions> <propt #27> <prop #194> <prop #195>2) Strange. I cannot reproduce this here.
FAQ | XY News RSS | XY X
-
PeterH
- Posts: 2826
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: about Custom Status Bar Info
Seems he has suppressed file extensions for list view - could this be the reason?
-
admin
- Site Admin
- Posts: 64877
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: about Custom Status Bar Info
I saw that and tried it, but still could not repro it.
FAQ | XY News RSS | XY X
-
PeterH
- Posts: 2826
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: about Custom Status Bar Info
it was a try 
-
admin
- Site Admin
- Posts: 64877
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: about Custom Status Bar Info
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.
PS: I will never understand why anybody decides to hide the most important part of a filename.
FAQ | XY News RSS | XY X
Re: about Custom Status Bar Info
Thank you very much.
I found the reason. Now I know that the return values of the following two commands are different.
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.
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.
-
PeterH
- Posts: 2826
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: about Custom Status Bar Info
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.
)
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
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.
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
XYplorer Beta Club