Page 2 of 3
Posted: 19 Sep 2006 18:42
by admin
ugus wrote:... just wonder if you have
extended the "system variables" with some of the special folder locations
like for example %Personal% %UserDocs% or whatever you may call it ;-)
Yes, I'll add some that are missing in the system (taking a lead in front of the OS

) like %Personal%, %WinSysDir% and whatever comes to my mind...
Posted: 20 Sep 2006 10:39
by admin
allen wrote:For an excellent example of implementing custom env. variables...
Code: Select all
%FILE% The entire path plus filename to the file
%FILENAME% The file name without path
%FILENAMENOEXT% The file name without the extension
%FILENAMENODOT% The file name cut off at the first dot
%FILEEXT% The extension of the file name without the dot
%FILELONGEXT% Everything in the file name after the first dot
%PATH% The full path without trailing delimiter to the file
%DRIVE% The drive the file is on, without trailing delimiter
%FOLDER% The full path without the drive and without leading or trailing delimiters
%FOLDER1% First folder in the path
%FOLDER2% Second folder in the path
%FOLDER99% 99th folder in the path.
%FOLDER<1% Last folder in the path
%FOLDER<2% Second folder from the end in the path
%FOLDER<99% 99th folder from the end in the path.
%PATH1% First folder in the path, without delimiters
%PATH2% First two folders in the path, without leading or trailing delimiters
%PATH99% First 99 folders in the path, without leading or trailing delimiters
%PATH<1% Last folder in the path, without delimiters
%PATH<2% Last two folders in the path, without leading or trailing delimiters
%PATH<99% Last 99 folders in the path, without leading or trailing delimiters
%PATH-1% Path without the drive or the first folder
%PATH-2% Path without the drive or the first two folders
%PATH-99% Path without the drive or the first 99 folders.
%PATH<-1% Path without the drive or the last folder
%PATH<-2% Path without the drive or the last two folders
%PATH<-99% Path without the drive or the last 99 folders.
Slightly overdone, maybe?

I did not spot a lot of useful variables for XY in that list...
Posted: 20 Sep 2006 13:44
by allen
You've mentioned the ability to do some scripting in the future, I thought the ability to grab directories ~n deep in either direction relative to current location could be handy for processes backuping up a directory structure at the very least.
Overdone, perhaps . . . just copying and pasting ;)
Posted: 20 Sep 2006 14:19
by admin
allen wrote:You've mentioned the ability to do some scripting in the future, I thought the ability to grab directories ~n deep in either direction relative to current location could be handy for processes backuping up a directory structure at the very least.
Overdone, perhaps . . . just copying and pasting

Ah, okay. I was only thinking of usage in the address bar... Scripting will come after some other things have deen done...
Posted: 20 Sep 2006 14:30
by ugus
admin wrote:allen wrote:You've mentioned the ability to do some scripting in the future, I thought the ability to grab directories ~n deep in either direction relative to current location could be handy for processes backuping up a directory structure at the very least.
Overdone, perhaps . . . just copying and pasting

Ah, okay. I was only thinking of usage in the address bar... Scripting will come after some other things have deen done...
Will systemvariables be available in searches too? and in catalog items?
/Ulrik
Posted: 20 Sep 2006 16:57
by admin
ugus wrote:Will systemvariables be available in searches too? and in catalog items?
Address bar searches? Yes, didn't you try? Catalog, too.
You know, Address bar, Catalog, GoTo dialog, Favorites -- they all are just different entries to the same procedure. They have identical capabilities.
Posted: 20 Sep 2006 18:07
by ugus
admin wrote:ugus wrote:Will systemvariables be available in searches too? and in catalog items?
Address bar searches? Yes, didn't you try? Catalog, too.
You know, Address bar, Catalog, GoTo dialog, Favorites -- they all are just different entries to the same procedure. They have identical capabilities.
Sorry
Didn't realized you already had implemented it...
/Ulrik
Posted: 21 Sep 2006 18:39
by jacky
Little inconsistancy I'd say with thoose: they do work on Go to/etc so they work for Name Searches, yet one cannot use them as locations for a classic File Find operation.
Posted: 22 Sep 2006 22:30
by admin
jacky wrote:Little inconsistancy I'd say with thoose: they do work on Go to/etc so they work for Name Searches, yet one cannot use them as locations for a classic File Find operation.
Yes, the address bar has more power than the location field. Not an inconsistancy but a difference.

Posted: 22 Sep 2006 23:28
by jacky
admin wrote:Yes, the address bar has more power than the location field. Not an inconsistancy but a difference.

Well, I still see it as an inconsistancy.

Reason is, yes i know AB/Goto/etc are more powerfull than the Location field, but I wasn't opposing thoose two, but the location field yes, with the location part of Name Searches.
As in, both are FF operations run by XY, so they should all have the same syntax (changes have actually already been made to go that way), and if one was to be more powerfull than the other, it'd be the "real" FF as it's the FF feature of XY, whereas Name Searches are not, there's just a quicker/simpler/lighter way to run a search.
So having both location "fields" for search in XY behaves the same (eg. both accepting multiple locations with same separator) but only one supporting env. variables.... Sound like inconsistency to me.

Posted: 23 Sep 2006 08:24
by admin
jacky wrote:... if one was to be more powerfull than the other, it'd be the "real" FF as it's the FF feature of XY, whereas Name Searches are not, there's just a quicker/simpler/lighter way to run a search...
That did it.

Posted: 23 Sep 2006 17:04
by ugus
admin wrote:Yes, the address bar has more power than the location field. Not an inconsistancy but a difference.

Later on it would be nice to let name searches support all the available switches that exists in Find files tab.
This will probably add a lot of different command switches to the name searches, but I think that would be a very nice thing to add (in the future)
Many users I think prefer to do searches with the addressbar and with the autocomplete feature name searches then really becomes a hit.
Not to mention the real power you'll get to when adding full featured name searches to catalog.
OK, not for now but I really like to see this later on.
/Ulrik
Posted: 23 Sep 2006 17:12
by jacky
ugus wrote:Not to mention the real power you'll get to when adding name searches to catalog.
Oh but name searches are already supported in the Catalog!! Just put as destination what you would put into the Goto/Address bar and it will work exactly the same way!
Don't know about having a way (switch?) to have that on Goto/AB/etc or if it'll be Catalog-only, but being able to use a template to start a real search (and so with the ability to set, via template, ALL the filters) has been planned too...
Posted: 23 Sep 2006 17:24
by ugus
jacky wrote:ugus wrote:Not to mention the real power you'll get to when adding name searches to catalog.
Oh but name searches are already supported in the Catalog!! Just put as destination what you would put into the Goto/Address bar and it will work exactly the same way!
Don't know about having a way (switch?) to have that on Goto/AB/etc or if it'll be Catalog-only, but being able to use a template to start a real search (and so with the ability to set, via template, ALL the filters) has been planned too...
Sorry, I wasn't clear... I mean name searches with switches that mimics all settings you can set in Find Files, that would be nice to being able to add to the catalogue.
Like a name search with a /contained text switch on...or something similar.
You cannot do it right now? or...
/Ulrik
Posted: 23 Sep 2006 20:30
by admin
ugus wrote:admin wrote:Yes, the address bar has more power than the location field. Not an inconsistancy but a difference.

Later on it would be nice to let name searches support all the available switches that exists in Find files tab. ...
Yes, but that would need a pretty elaborate syntax (think of the Date tab alone!), not easy to handle and remember.
The way I plan it: store finding tabs (with full find settings) in the catalog, and restore them later at one click. Then you have also the sort order, column order, column width etc. set. And you don't need to learn anything new, just click "save tab" and "open tab". File under "catalog: tab items" when you next remind me...
