Adjusting Plugin rows in Search

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
AnthonyCian
Senior Member
Senior Member
Posts: 265
Joined: 2005-06-16, 01:45 UTC
Location: Thatcher Az. USA

Adjusting Plugin rows in Search

Post by *AnthonyCian »

Hi, I noticed in the SEARCH Plugin Tab, it is possible to have many rows of Rules. If I have 6 rows of rules I would like:

#1. Shuffle the sequence order. Move rule 6 up to make it rule 3.

#2. I would also like to delete a RULE row other than the last row (less rules). That is, click in row 3 (Rule 3 making it the active row) and delete it.

The feature I am looking for is similar to the feature that is available in the Custom Columns.
Each column row setup can be moved around and any row can be deleted just be clicking in the active row.


Thanks,
TONY
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3897
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

#1. Shuffle the sequence order. Move rule 6 up to make it rule 3.
Why? The order doesn't matter. All rules have same priority.
#5767 Personal license
User avatar
AnthonyCian
Senior Member
Senior Member
Posts: 265
Joined: 2005-06-16, 01:45 UTC
Location: Thatcher Az. USA

Post by *AnthonyCian »

I can see your point on #1. But it's mainly for organizational needs to keeps things in line, especially when having many rows.

As for #2: In time I have to delete obsolete rows. I have 8 rows of rules, I need to delete a rule on row 3. How do I delete that particular row without deleting all the rows below it?

AC
User avatar
petermad
Power Member
Power Member
Posts: 16140
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

How do I delete that particular row without deleting all the rows below it?
Good pont - if at least you could move the row to the bottom, or if the highlighted row would be the one that is removed.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
AnthonyCian
Senior Member
Senior Member
Posts: 265
Joined: 2005-06-16, 01:45 UTC
Location: Thatcher Az. USA

Post by *AnthonyCian »

Hi, I found a round about way on how to remove a plugin search rule without removing all the rules below it. I opened the Total Commander INI file, searched for the part I needed to identify the string. Found it and deleted that part.

Say the search string contains RMA-3980 (see Red), I searched for that, when I found it, I removed that section.

EXAMPLE:
!-----Multiple RMA Search-----_SearchFor=
!-----Multiple RMA Search-----_SearchIn=
!-----Multiple RMA Search-----_SearchText=
!-----Multiple RMA Search-----_SearchFlags=0|002002000020|||||||||0000|
!-----Multiple RMA Search-----_plugin=tc.fullname contains 3657 | tc.fullname contains 3856 | tc.fullname contains 3857 | tc.fullname contains 3858 | tc.fullname contains 3864 |
tc.fullname contains RMA-3980 | |tc.fullname contains 3997 | tc.fullname contains RMA-4006 | tc.fullname contains 4008 | tc.fullname contains 4010 | tc.fullname contains 4011 | tc.fullname contains 4014 | tc.fullname contains 4015

AC
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

sqa_wizard wrote:
#1. Shuffle the sequence order. Move rule 6 up to make it rule 3.
Why? The order doesn't matter. All rules have same priority.
It should be faster to check fast fields before slow ones: for AND operation first false result stops checking, for OR operation first true result stops checking.
Post Reply