Yes, I'll add some that are missing in the system (taking a lead in front of the OSugus 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 ;-)
%temp% going to temp folder?
-
admin
- Site Admin
- Posts: 66249
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
admin
- Site Admin
- Posts: 66249
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Slightly overdone, maybe?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.
-
allen
- Posts: 89
- Joined: 10 Sep 2006 19:25
- Location: Northern Maine
-
admin
- Site Admin
- Posts: 66249
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Ah, okay. I was only thinking of usage in the address bar... Scripting will come after some other things have deen done...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
-
ugus
- Posts: 211
- Joined: 02 Jun 2006 16:42
Will systemvariables be available in searches too? and in catalog items?admin wrote:Ah, okay. I was only thinking of usage in the address bar... Scripting will come after some other things have deen done...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
/Ulrik
-
admin
- Site Admin
- Posts: 66249
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
ugus
- Posts: 211
- Joined: 02 Jun 2006 16:42
Sorryadmin wrote:Address bar searches? Yes, didn't you try? Catalog, too.ugus wrote:Will systemvariables be available in searches too? and in catalog items?
You know, Address bar, Catalog, GoTo dialog, Favorites -- they all are just different entries to the same procedure. They have identical capabilities.
Didn't realized you already had implemented it...
/Ulrik
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
-
admin
- Site Admin
- Posts: 66249
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
Well, I still see it as an inconsistancy.admin wrote:Yes, the address bar has more power than the location field. Not an inconsistancy but a difference.
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.
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 66249
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
ugus
- Posts: 211
- Joined: 02 Jun 2006 16:42
Later on it would be nice to let name searches support all the available switches that exists in Find files tab.admin wrote:Yes, the address bar has more power than the location field. Not an inconsistancy but a difference.
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
Last edited by ugus on 23 Sep 2006 17:25, edited 1 time in total.
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
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!ugus wrote:Not to mention the real power you'll get to when adding name searches to catalog.
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...
Proud XYplorer Fanatic
-
ugus
- Posts: 211
- Joined: 02 Jun 2006 16:42
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.jacky wrote: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!ugus wrote:Not to mention the real power you'll get to when adding name searches to catalog.
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...
Like a name search with a /contained text switch on...or something similar.
You cannot do it right now? or...
/Ulrik
-
admin
- Site Admin
- Posts: 66249
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Yes, but that would need a pretty elaborate syntax (think of the Date tab alone!), not easy to handle and remember.ugus wrote:Later on it would be nice to let name searches support all the available switches that exists in Find files tab. ...admin wrote:Yes, the address bar has more power than the location field. Not an inconsistancy but a difference.
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...
XYplorer Beta Club