::#523; echo property("Type") return blank

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
binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

::#523; echo property("Type") return blank

Post by binocular222 »

This return nothing:

Code: Select all

::#523; echo property("Type")
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

klownboy
Posts: 4481
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: ::#523; echo property("Type") return blank

Post by klownboy »

Could it be a language issue? Your code line works fine for me (i.e., going back will yield a prop type of "File folder"). If I leave out the #523, the return seems to be correct (i.e., Image file, Notepad++ Document, etc.).

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

Re: ::#523; echo property("Type") return blank

Post by binocular222 »

Correct! It's due to I set regional & Language to Vietnamese
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: ::#523; echo property("Type") return blank

Post by admin »

This should work independent of the locale:

Code: Select all

::#523; echo property("#2");

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

Re: ::#523; echo property("Type") return blank

Post by binocular222 »

btw, these are screwed by regional and language too:
#mp3.artist
#mp3.genre
#mp3.title

This return xxGB instead of "Local Disk"

Code: Select all

property("#2","<curitem>")
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: ::#523; echo property("Type") return blank

Post by admin »

1) What happens?

2) Yes, in Drives mode the indices are different.

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

Re: ::#523; echo property("Type") return blank

Post by binocular222 »

1) Regional = English:
#mp3.artist = Cool
#mp3.genre = Blues
#mp3.title = Aloha

Regional = Vietnamese:
#mp3.artist = ÿ₫C
#mp3.genre = ÿ₫B
#mp3.title = ÿ₫A

2) what's the indice number?
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: ::#523; echo property("Type") return blank

Post by bdeshi »

binocular222 wrote: This return xxGB instead of "Local Disk"

Code: Select all

property("#2","<curitem>")
admin wrote:2) Yes, in Drives mode the indices are different.
binocular222 wrote:2) what's the indice number?
/*in Drives mode*/ property("#1","<curitem>"); //"Local Disk"
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: ::#523; echo property("Type") return blank

Post by admin »

binocular222 wrote:1) Regional = English:
#mp3.artist = Cool
#mp3.genre = Blues
#mp3.title = Aloha

Regional = Vietnamese:
#mp3.artist = ÿ₫C
#mp3.genre = ÿ₫B
#mp3.title = ÿ₫A
Do you get the same in the Preview tab for mp3s?
And in File | Rename Special | MP3 Special?

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

Re: ::#523; echo property("Type") return blank

Post by binocular222 »

Yes, I see the same in Preview and Rename MP3 Special
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: ::#523; echo property("Type") return blank

Post by admin »

Does this happen with all mp3 files?

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

Re: ::#523; echo property("Type") return blank

Post by binocular222 »

No, but most files get this error
See a sample file here: http://www.mediafire.com/listen/szj5gmt ... /Aloha.mp3
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: ::#523; echo property("Type") return blank

Post by admin »

Thanks. Very difficult to debug and fix. I won't time for it very soon.

Post Reply