SC property

Things you’d like to miss in the future...
Post Reply
jupe
Posts: 2805
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: 60618
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: SC property

Post by admin »

Confirmed and fixed. :tup:

jupe
Posts: 2805
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: 60618
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @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