Page 1 of 1

Automatic closing of the search bar

Posted: 22 Mar 2022 16:00
by Texano88
Hi, I wanted to ask if it is possible to automatically close the search panel (Ctrl + f) once I close the search results page.
Thank you.

Re: Automatic closing of the search bar

Posted: 22 Mar 2022 16:39
by highend
Use a run script action for a custom event action: Switch tabs

Code: Select all

$modes = "";
    while ($i++ < gettoken(<get "Tabs">, "count", "|")) { $modes .= tab("get", "mode", $i); }
    if (get("#665") && strpos($modes, "1") == -1) { #665; }

Re: Automatic closing of the search bar

Posted: 22 Mar 2022 16:58
by Texano88
It works great, thanks.
Is Visual Basic Right?

Re: Automatic closing of the search bar

Posted: 22 Mar 2022 17:26
by highend
No, it's XYplorer's scripting language

Re: Automatic closing of the search bar

Posted: 11 Nov 2022 22:05
by Texano88
The script doesn't seem to work anymore with the latest version