Page 1 of 2

Folder aliases

Posted: 15 Apr 2007 22:25
by jgpaiva
I'm not sure if XY already has this, but would it be possible that there was a way to define aliases for folders?

What i mean is that when i added some folder to favourites, i'd like to be able to define an alias for it, so that when i typed that in the address bar, i'd get that folder.

Thanks!

Posted: 15 Apr 2007 22:30
by surrender
something similar, catalog aliases is already on XY roadmap.

Posted: 15 Apr 2007 22:33
by j_c_hallgren
One can define a caption for an entry in the Catalog, which is somewhat like an alias...ok, so you can't type them in, but why type when you can click? :wink:

Posted: 15 Apr 2007 22:58
by jgpaiva
j_c_hallgren wrote:One can define a caption for an entry in the Catalog, which is somewhat like an alias...ok, so you can't type them in, but why type when you can click? :wink:
Well.. I have 2 reasons: a small screen that doesn't allow me to have the catalog showing (at least, not until CKS are complete and i can add a few shortcuts of my own) and... because i don't like to use my mouse! :D

Re: Folder aliases

Posted: 15 Apr 2007 22:58
by admin
jgpaiva wrote:I'm not sure if XY already has this, but would it be possible that there was a way to define aliases for folders?
You will get something better soon: hotkeys for going to folders! So you don't have to type into some box, but just hit a key wherever you are.

BTW: I had Ctrl+Shift+Alt+C for "goto C:" built in as an example, but since I added "hot zones" in the last release, it stopped working (I simply forgot to define a zone for it). It'll work again in the next version.

Posted: 20 May 2007 16:19
by Liquidmantis
Sorry for the thread necromancy, I meant to reply before and forgot.

An easy implementation of this would be to have XYplorer use all the environmental variables. For example I have %downloads% set to my download directory but while it works in everything Windows Explorer based, XYplorer doesn't use it.

Personally, I'd much rather that than hotkeys. Not only because I can use it in any file browsing operations and it's more logical to me, but I'm quickly running out of key combinations! ;)

Posted: 20 May 2007 16:43
by jacky
Liquidmantis wrote:An easy implementation of this would be to have XYplorer use all the environmental variables. For example I have %downloads% set to my download directory but while it works in everything Windows Explorer based, XYplorer doesn't use it.
hmm right, it seems XY only uses his own fixed environment variables, for both Windows & XY-specific ones.
FYI, full list is available here: http://88.191.26.34/XYwiki/index.php/En ... _Variables

But yes, since it is a standard Windows behavior to let one user add its own env. variables, maybe XY should use them as well.
It shouldn't be too complicated I think, as they're all simply listed in the registry, under HKEY_CURRENT_USER\Environment

Posted: 20 May 2007 17:37
by admin
jacky wrote:But yes, since it is a standard Windows behavior to let one user add its own env. variables, maybe XY should use them as well.
It shouldn't be too complicated I think, as they're all simply listed in the registry, under HKEY_CURRENT_USER\Environment
I did not know about this possibility. Thanks.

Posted: 20 May 2007 20:49
by mwb1100
jacky wrote:It shouldn't be too complicated I think, as they're all simply listed in the registry, under HKEY_CURRENT_USER\Environment
I believe that in VB the Environ() function should be used to query the environment variables. Windows merges settings for the environment from two registry locations: "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" and the "HKCU\Environment" key you mentioned.

Also, the user may launch XY from a command line prompt where he has modified the default environment - obtaining the values using the Environ() function will respect those changes.

Posted: 20 May 2007 21:41
by admin
mwb1100 wrote:I believe that in VB the Environ() function should be used to query the environment variables. ...
Thanks for the tip!

Posted: 21 May 2007 08:40
by admin
Liquidmantis wrote:An easy implementation of this would be to have XYplorer use all the environmental variables. For example I have %downloads% set to my download directory but while it works in everything Windows Explorer based, XYplorer doesn't use it.

Personally, I'd much rather that than hotkeys. Not only because I can use it in any file browsing operations and it's more logical to me, but I'm quickly running out of key combinations! ;)
Done. Should work from the next BETA version. 8)

Posted: 21 May 2007 14:44
by Liquidmantis
Has anyone mentioned how awesome you are lately? :shock:

Posted: 21 May 2007 21:09
by Liquidmantis
This is working great on XP, but on Vista it's not seeing my user variables. I still get the old error:

---------------------------
XYplorer
---------------------------
Couldn't find location:

D:\Program Files\XYplorer\%sync%

---------------------------
OK
---------------------------

Posted: 21 May 2007 21:37
by admin
Liquidmantis wrote:This is working great on XP, but on Vista it's not seeing my user variables. I still get the old error:

---------------------------
XYplorer
---------------------------
Couldn't find location:

D:\Program Files\XYplorer\%sync%

---------------------------
OK
---------------------------
Hm, so the environ() method does not work on Vista? Too bad: I don't have Vista, so I can't really debug this...

Posted: 21 May 2007 21:48
by admin
PS: do the standard variables work, like %tmp% , %windir% etc. ?