This works, thanks.
But what I really try to accomply is to make Find Files and Quick Search utilize the same tab that is used to show recently opened files.
To show recently opened files, I use the following script that consists of just 2 lines:
Code: Select all
goto '<get list_recentlyopenedfiles> ? /silent=1';
sortbylist <get list_recentlyopenedfiles>;
The problem here that if you make a search (Ctrl+F) or quick search (F3), search results will be opened in another tab. Not in the tab that was created by the script above.
So we need some hack, some workaround here. I have realized that if I create a new tab, make some "dummy" quick search there (by pressing F3), and then paste the script above in the address bar, this will make the next quick search to be shown in the same tab. So, this workaround works.
However, for some unknown reason, this doesn't work if you make quick search from within a script (instead of pressing the F3 key). First I tried
Code: Select all
tab('new'. '?*');
goto '<get list_recentlyopenedfiles> ? /silent=1';
sortbylist <get list_recentlyopenedfiles>;
and then
Code: Select all
tab('new');
goto '?*';
goto '<get list_recentlyopenedfiles> ? /silent=1';
sortbylist <get list_recentlyopenedfiles>;
Neither version solves the described problem.
My search settings are as follows:
Code: Select all
Tools > Configuration > Find Files & Branch View >
- Show search results in = "Search Results" tab
- Show quick search results in current tab = False