Page 1 of 1
Difference between script and info panel
Posted: 07 Oct 2021 18:00
by zakhar
Hello, dear XYplorer Community!
The following searches return different results:
in the script:
Code: Select all
quicksearch("(*-2021.10* OR *-e.-??-??10.21) AND (*-A-* OR *-E-*) /d","C:\Location\");
(In the script "2021.10" and "10.21" are enclosed in variables $Date1 and $Date2.)
in the info pannel (in the same location):
Code: Select all
(*-2021.10* OR *-e.-##-##.10.21) AND (*-A-* OR *-E-*) /d
The result of the info panel search is right.
The result of the script is wrong: it contains folders (but not many), that do not match any patterns.
What is wrong in the script?
Re: Difference between script and info panel
Posted: 07 Oct 2021 18:39
by highend
Then show the folders that are found but do not match the patterns?
*-e.-??-??10.21 != *-e.-##-##.10.21
Re: Difference between script and info panel
Posted: 07 Oct 2021 20:08
by admin
The patterns differ, so it's not that surprising that the results differ.
Re: Difference between script and info panel
Posted: 07 Oct 2021 21:46
by zakhar
The problem is, that the script result returns folders (except the right ones),
which do not contain (even in their paths) "2021.10", ".10.21", "-A-" or "-E-" at all - that is very strange.
There are 19 right folders and 4 wrong folders in the actual script search result,
more then 10.000 folders were filtered.
(I can not disclose the paths and names of the folders due to privacy reasons.
It is clear, that this can obstruct helping to solve this problem.)
Re: Difference between script and info panel
Posted: 07 Oct 2021 22:24
by highend
My crystal ball has a small crack on the surface, I'm out
Re: Difference between script and info panel
Posted: 08 Oct 2021 10:32
by admin
Funny, mine too.
Re: Difference between script and info panel
Posted: 08 Oct 2021 14:11
by zakhar
Excuse me! It was my bad!
(Normal script search results were normally passed to the paperfolder.
A script part, which followed afterwards, added incorrectly
some folders to the search results of the script.)
Re: Difference between script and info panel
Posted: 08 Oct 2021 14:30
by admin

cheers!
Re: Difference between script and info panel
Posted: 08 Oct 2021 20:30
by Gandolf
I have a Gypsy crystal ball, given to me as a wedding present by Irish Gipsy friends many years ago. I must never touch it (I don't have Gypsy blood), but I will look into it and see if I can help!