SC property

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

: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: Use Your Profile Or Signature
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: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
jupe
Posts: 3569
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

SC property

Post by jupe »

I have noticed that most of the special properties don't seem to apply a Field Prefix, eg these don't work:

Code: Select all

e "<prop AR:#aspectratio><crlf><prop D:#image.dimensions>";
Additionally, and I am not even sure if this should work for those special props anyway, but am mentioning it because it is also listed as an example in the help file and doesn't work:

Code: Select all

e <prop #hash.md5 n>;

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

Re: SC property

Post by admin »

Confirmed and fixed. :tup:

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

Re: SC property

Post by jupe »

Not sure if it matters because there are alternatives, but FYI the n flag doesn't work for the new #image.width/height

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

Re: SC property

Post by admin »

Good point, I did not think of that. But I won't change it. Instead I added this to the release notes:

Code: Select all

      Remark:
        These are just extensions of SC property/<prop ...>. They are not new Special 
        Properties (of which #image.dimensions is one). For example, they are not offered 
        as columns, and you cannot return the field name like that:
          echo <prop #image.width n>;
        You can do this instead:
          echo <prop #image.width "Width: ">;
I might even keep them out of the docs for now.

Post Reply