Page 1 of 1

Path representation in Address Bar - Use with Listary

Posted: 23 Dec 2012 12:51
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.

Re: Path representation in Address Bar - Use with Listary

Posted: 23 Dec 2012 14:14
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.

Re: Path representation in Address Bar - Use with Listary

Posted: 23 Dec 2012 17:21
by Borut
Thank you - have cross-posted this here: http://discussions.listary.com/discussi ... omment_629

Re: Path representation in Address Bar - Use with Listary

Posted: 24 Dec 2012 03:43
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.

Re: Path representation in Address Bar - Use with Listary

Posted: 24 Dec 2012 09:12
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

Re: Path representation in Address Bar - Use with Listary

Posted: 24 Dec 2012 14:15
by Channing
Thanks! I'll give it a try.