For example, I oftenly need to make a search inside all my documents.
That's mean, I need to scan doc, docx, docm, txt, md, mmd, rtf, htm, html and some another document-related files. As you see, there are a lot of extensions and it's not easy to keep them in mind.
So, I'm wondering is there a feature to save search parameters, probably somewhere in catalog. You press some button - and then search panel with all proper settings will be opened:
Is there an option to save search settings?
Re: Is there an option to save search settings?
Code: Select all
help "idh_searchtemplates.htm";
One of my scripts helped you out? Please donate via Paypal
Re: Is there an option to save search settings?
Thanks! Yes, semicolon, it was an old screenshothighend wrote:and you know that the delimiter in the name field is not a comma, do you?Code: Select all
help "idh_searchtemplates.htm";
Re: Is there an option to save search settings?
Here is what I'm trying to achieve:highend wrote:and you know that the delimiter in the name field is not a comma, do you?Code: Select all
help "idh_searchtemplates.htm";
Code: Select all
// if "find files" pane at the bottom of the window is not opened {
#260; // Open this pane
#264; // Open search templates window
} else {
#264;
}
Re: Is there an option to save search settings?
Sure, look at
and after writing the XYplorer.ini to a temp file, read the ShowInfoPanel
entry from the [Layout] section of it. Additionally you need the LastTab
entry from the [General] section. It needs to be 6, otherwise a different
tab is displayed...
Code: Select all
savesettings
entry from the [Layout] section of it. Additionally you need the LastTab
entry from the [General] section. It needs to be 6, otherwise a different
tab is displayed...
One of my scripts helped you out? Please donate via Paypal
Re: Is there an option to save search settings?
Thanks! Here is my code. Is it correct?highend wrote:Sure, look atand after writing the XYplorer.ini to a temp file, read the ShowInfoPanelCode: Select all
savesettings
entry from the [Layout] section of it. Additionally you need the LastTab
entry from the [General] section. It needs to be 6, otherwise a different
tab is displayed...
Code: Select all
"Open Search Templates Window"
savesettings 1, "temp.ini"; // Not sure here should be "1". Is it correct?
$lastTab = getkey("LastTab", "General", "temp.ini");
$showInfoPanel = getkey("ShowInfoPanel", "Layout", "temp.ini");
if ($lastTab != 6) || ($showInfoPanel != 1) { #260; } // Shouldn't we use ($lastTab != 6 || $showInfoPanel != 1) instead?
#264;