Sometimes i think about possibility of search with search dialog window filled with properties based on file under cursor, kind of search duplicate of current file or just load from command options, not from saved search, so command with parameter would be useful and, as LOADSEARCH already exists and works other way, it could be modified to accept modifiers and parameters for load properties of file under cursor additionally or new command called e.g. SEARCHFILES or SEARCHSIMILARFILES working way similar to OPENATTRIBUTES.
Such a command should support many modifiers and parameters.
Each of modifers alone should load properties from file under cursor, while modifiers with parameters should allow change loaded property according to value of parameter, e.g.
N - name, <prefix>N<suffix>, N[n-n](part)
E - extension, <prefix>E<suffix>, E[n-n](part)
S - size "S-" smaller, S+ bigger
D - date "D-" older, "D+" newer
T - time "T-" older, "T+" newer
other options
E - use Everything for search
A - attributes, arhscde
C - search in archives
X - search text - wcrhfadu8op - as in dialog window
F - duplicate, n - name, s - size, c - content, p - plugin fields
P - search path only (and below with +nn number deep)
R - search drives, the same, other defined by letters
and so on.
This is for consideration how this should work when multiple files are selected.
Search for all, or e.g. first 20 names is a good start point
Maybe should search also for files sizes and dates in range of selected files.
For really complex searches loading saved search is probably better choice.
Modify LOADSEARCH or new command with parameters
Moderators: Hacker, petermad, Stefan2, white
Find files: plugins, using properties of current file?
I want to find files based on one (or more) of the current properties of the current file (file under the caret).
Is there a way to pass on such information to the plugins? e.g. I have a file of 987 bytes, can I pass on the value 987 to the property tc.size= plugin?
Say something like tc.size=active
Where active will always take the file size of the current file under the caret. Other properties also - where applicable of course (writetime, creationdate, etc).
(I could do it using ahk of course)
Edit: so you can save the search and use it later or create shortcut, button, etc
Is there a way to pass on such information to the plugins? e.g. I have a file of 987 bytes, can I pass on the value 987 to the property tc.size= plugin?
Say something like tc.size=active
Where active will always take the file size of the current file under the caret. Other properties also - where applicable of course (writetime, creationdate, etc).
(I could do it using ahk of course)
Edit: so you can save the search and use it later or create shortcut, button, etc
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: Find files: plugins, using properties of current file?
This seems to be the same as suggested here: https://ghisler.ch/board/viewtopic.php?t=49163
Anyway - I support being able to use plugin search with the 0utput from other plugins: https://ghisler.ch/board/viewtopic.php?p=336425#p336425
Anyway - I support being able to use plugin search with the 0utput from other plugins: https://ghisler.ch/board/viewtopic.php?p=336425#p336425
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Find files: plugins, using properties of current file?
I missed (and didn't find) the post by Gral so these posts could be moved there.
Finding a duplicate of the current file is exactly what I was trying to do (as gral mentions in his post), but I thought starting with "current properties" would be a good start.
Finding a duplicate of the current file is exactly what I was trying to do (as gral mentions in his post), but I thought starting with "current properties" would be a good start.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: Modify LOADSEARCH or new command with parameters
Moderator message from: white » 2024-07-08, 21:31 UTC
Merged topic
» Find files: plugins, using properties of current file?
with topic
» Modify LOADSEARCH or new command with parameters
» Find files: plugins, using properties of current file?
with topic
» Modify LOADSEARCH or new command with parameters