Page 1 of 1
Searching for files hidden with Ghost Filter
Posted: 17 Nov 2022 18:59
by o7blue
When searching for files with quicksearch(), if the file was hidden with ghost filter, nothing will be found. Is there a way to search for these files without needing to turn off ghost filter?
Relevant chunk of code:
Code: Select all
$tagFiles = quicksearch("folder.tags /f", , , "s");
// Only process files where "folder.tags" itself is not part of the file name
$tagFiles = regexmatches($tagFiles, "^.+\\folder\.tags$", <crlf>);
end (!$tagFiles), "No folder.tags file(s) found, aborted!";
Re: Searching for files hidden with Ghost Filter
Posted: 17 Nov 2022 19:32
by highend
/af
Re: Searching for files hidden with Ghost Filter
Posted: 18 Nov 2022 00:03
by o7blue
Thanks!
Re: Searching for files hidden with Ghost Filter
Posted: 18 Nov 2022 00:27
by o7blue
So I didn't get the expected results (nothing found). I also tried the 'Find Files' dialogue with the 'Find hidden' option selected, and it couldn't find the file when hidden with ghost filter. Is this working as intended?
Re: Searching for files hidden with Ghost Filter
Posted: 18 Nov 2022 07:45
by highend
- Animation.gif (560.15 KiB) Viewed 976 times
Re: Searching for files hidden with Ghost Filter
Posted: 18 Nov 2022 14:07
by o7blue
Still seem to be getting different results, XY 23.10
https://youtu.be/XnRanT7gzcE
Re: Searching for files hidden with Ghost Filter
Posted: 18 Nov 2022 16:29
by highend
I don't have time to try that on a 6 month old version. Try the current one
Re: Searching for files hidden with Ghost Filter
Posted: 18 Nov 2022 23:05
by o7blue
Geez, updating fixed it. That's what I get for thinking "surely that can't be it". Thank you for your patience highend.
btw where can I find other flags like /a and /f that can be used in strings? I've searching the scripting help menu but haven't found anything yet.
Re: Searching for files hidden with Ghost Filter
Posted: 18 Nov 2022 23:31
by highend
rtfm "idh_quicknamesearch.htm";
Re: Searching for files hidden with Ghost Filter
Posted: 24 Nov 2022 22:29
by kiwichick
highend wrote: ↑18 Nov 2022 23:31
rtfm "idh_quicknamesearch.htm";
Oh wow, didn't know it was possible to open the help file at a specified location like that. Fantastic!!!!