Error on property command

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".
admin
Site Admin
Posts: 67316
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error on property command

Post by admin »

PS: try "Artists" - Vista wants them in the plural... :roll:

Maybe "Authors" will work for DocAuthor, who knows... MS opted to share no documentation on this.

Here's a link again to some user compiled lists:
http://www.kixtart.org/forums/ubbthread ... ber=160880

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Error on property command

Post by zer0 »

admin wrote:PS: try "Artists" - Vista wants them in the plural... :roll:

Maybe "Authors" will work for DocAuthor, who knows... MS opted to share no documentation on this.

Here's a link again to some user compiled lists:
http://www.kixtart.org/forums/ubbthread ... ber=160880
Nope, changing it to Artists and Authors did not produce the desired effect: neither are showing :(
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: Error on property command

Post by admin »

zer0 wrote:
admin wrote:PS: try "Artists" - Vista wants them in the plural... :roll:

Maybe "Authors" will work for DocAuthor, who knows... MS opted to share no documentation on this.

Here's a link again to some user compiled lists:
http://www.kixtart.org/forums/ubbthread ... ber=160880
Nope, changing it to Artists and Authors did not produce the desired effect: neither are showing :(
argh. OK, next version will allow you to enter indices. Artist(s) should be "#13" under Vista.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Error on property command

Post by zer0 »

admin wrote:argh. OK, next version will allow you to enter indices. Artist(s) should be "#13" under Vista.
Using indices did the trick, but using serendipity's script it shows as #13 instead of "Artist(s)". Can XY do some form of conversion there? Pass an index, but get display a label in its place or similar?
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: Error on property command

Post by admin »

zer0 wrote:
admin wrote:argh. OK, next version will allow you to enter indices. Artist(s) should be "#13" under Vista.
Using indices did the trick, but using serendipity's script it shows as #13 instead of "Artist(s)". Can XY do some form of conversion there? Pass an index, but get display a label in its place or similar?
The shell function accepts labels and indices.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Error on property command

Post by zer0 »

admin wrote:The shell function accepts labels and indices.
...but in terms of "Artists" and "DocAuthor" XY only returns the values if I use the respective indices, using the labels doesn't work for those two.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: Error on property command

Post by admin »

zer0 wrote:
admin wrote:The shell function accepts labels and indices.
...but in terms of "Artists" and "DocAuthor" XY only returns the values if I use the respective indices, using the labels doesn't work for those two.
Well, I guess the labels are simply wrong. MS keeps the correct labels locked up somewhere in Redmond.

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

Re: Error on property command

Post by admin »

Question: Does this work under Vista (it does under XP) when you select some photos?

Code: Select all

::text report("{name}, {WhenTaken}, {Dimensions}<crlf>", 1);
Should return something like this:

Code: Select all

img 055.jpg, 25.04.2004 12:49:16, 1024 x 768
img 056.jpg, 25.04.2004 14:56:38, 1024 x 768
img 057.jpg, 25.04.2004 14:59:10, 1024 x 768
img 058.jpg, 25.04.2004 14:59:23, 1024 x 768

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Error on property command

Post by zer0 »

It does not report the {WhenTaken} part, just the names and resolutions.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: Error on property command

Post by admin »

Thanks.

BTW, for the Property command:
In Vista and Win7 #12 should work (in XP it's #25) for "Date Taken" -- which usually is identical with EXIF date. But I have seen files that have an EXIF date but no "Date Taken" property... :roll:

BTW, the Report command does not yet support indices. Will come...

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Error on property command

Post by binocular222 »

Can someone make a list of indice and label (i.e: #13 = Artist)?
I still cannot retrieve properties by meaningful label.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

RalphM
Posts: 2145
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Error on property command

Post by RalphM »

binocular222 wrote:Can someone make a list of indice and label (i.e: #13 = Artist)?
I still cannot retrieve properties by meaningful label.
Depends on OS and Locale, so without stating which ones you use even the most helpful people out there can't help...

As for "Artist", did you try the plural "Artists" as mentioned by Don earlier in this thread?
Ralph :)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Error on property command

Post by binocular222 »

I tried Artists but no luck.
I'm using Win 7 x32. Locale: US
Last edited by binocular222 on 01 Jan 2013 13:11, edited 1 time in total.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Error on property command

Post by Stefan »

binocular222 wrote:Can someone make a list of indices and label (i.e: #13 = Artist)?
I still cannot retrieve properties by meaningful label.
The valid list for your current OS can be found under "Tools > Configurations... > File Info Tips"

For me for example on a MP3 file:
::$A = property("Artist"); $B = property(#10); msg "$A - $B";

---------------------------
XYplorer
---------------------------
Led Zeppelin - Led Zeppelin II (1969)
---------------------------
OK
---------------------------



- - -

#10 is Title BTW, but that "Title" doesn't work for me:
::$A = property("Artist"); $B = property("Titel"); msg "$A - $B";
::$A = property("Artist"); $B = property("Title"); msg "$A - $B";

only this works:
::$A = property("Artist"); $B = property(#10); msg "$A - $B";
::$A = property("Artist"); $B = property("#10"); msg "$A - $B";


- - -

"Artist" is listed as "Interpret" #16 for my german languages OS
but "Interpret" do not works for me, only "Artist" and #16.


So you always have to experiment a little bit with those properties indices.



- - -

You can also try an serendipity script on a media file:
>>> "method to scan properties. It simply scans through #1-#500 to get properties"
>>> http://www.xyplorer.com/xyfc/viewtopic. ... 562#p71562

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Error on property command

Post by binocular222 »

I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

Post Reply