Shell icon indicating copy to clipboard operation
Shell copied to clipboard

Enhancement: AND option for find property

Open jurgen-vk opened this issue 6 months ago • 1 comments

I'm trying to hide everything except a select few items, i can get this working with the where property and using id's. but not everything has an id, so i converted everything to a find statement. The problem is, is that the pattern separator is an OR operator, so with negation, it doesn't work.

Example

find = '
  |!"Copy"
  |!"Cut"
  |!"Paste"
  |!"Delete"
  |!"Edit"
  |!"Open with"
  |!"Properties"
  |!"Extract All*"
  |!"Extract to*"
  |!"Compress to*"
'

that won't work unfortunately. A solution would be adding more operators to the find property logic:

find = '
  &!"Copy"
  &!"Cut"
  &!"Paste"
  &!"Delete"
  &!"Edit"
  &!"Open with"
  &!"Properties"
  &!"Extract All*"
  &!"Extract to*"
  &!"Compress to*"
'

The workaround i have to use now, is just to remove everything item by item.

jurgen-vk avatar Jun 28 '25 10:06 jurgen-vk