Path representation in Address Bar - Use with Listary

Features wanted...
Post Reply
Borut
Posts: 1412
Joined: 19 Oct 2010 19:29

Path representation in Address Bar - Use with Listary

Post by Borut »

On my WinXP installation, my "My Documents" (ger. "Eigene Dateien") is defined to be at "D:\Users\Borut\".

I am attaching two images, one of Windows Explorer and one of XYplorer. In both the current path is in the same subdirectory of "My Documents". However, the contents of the Address Bar is different.

This presents a problem when using Listary with XYplorer: if I go to D:\Users\Borut\___TEST_FOR_XY\ explicitly via D:\, then there are no problems. If I go to the same directory via Eigene Dateien, then I can not use Listary successfully.

This might appear as a philosophical question, but it currently makes a very practical problem when using Listary Beta 4.
Attachments
In AB: D:\Users\Borut\___TEST_FOR_XY
In AB: D:\Users\Borut\___TEST_FOR_XY
WE.jpg (17.32 KiB) Viewed 1340 times
In AB: Eigene Dateien\___TEST_FOR_XY\
In AB: Eigene Dateien\___TEST_FOR_XY\
XY.jpg (18.68 KiB) Viewed 1340 times
Win 10 Pro 64bit

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

Re: Path representation in Address Bar - Use with Listary

Post by admin »

I don't know how Listary retrieves the current tree path in XY, but I think he uses scripting. I could show him a way how to always retrieve the "real" path instead of the "special" path. I think. If not I will add such way. Trivial. So, the author (Channing, I think) should approach me.

Borut
Posts: 1412
Joined: 19 Oct 2010 19:29

Re: Path representation in Address Bar - Use with Listary

Post by Borut »

Thank you - have cross-posted this here: http://discussions.listary.com/discussi ... omment_629
Win 10 Pro 64bit

Channing
Posts: 12
Joined: 25 Oct 2012 14:13

Re: Path representation in Address Bar - Use with Listary

Post by Channing »

Hello Donald,

Currently Listary reads the path from the address bar text box directly for better compatibility. I'd very much like to know the correct approach to get the real path. Thank you in advance.

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

Re: Path representation in Address Bar - Use with Listary

Post by admin »

Channing wrote:Hello Donald,

Currently Listary reads the path from the address bar text box directly for better compatibility. I'd very much like to know the correct approach to get the real path. Thank you in advance.
Hi Channing,

there is a variable <curpath> which will always return the *real* current path:

Code: Select all

<curpath>    real current path (unslashed)
You can access it via scripting:

Code: Select all

echo <curpath>;
Don

Channing
Posts: 12
Joined: 25 Oct 2012 14:13

Re: Path representation in Address Bar - Use with Listary

Post by Channing »

Thanks! I'll give it a try.

Post Reply