Hi Glenn,
> As I said in a reply to Shawn...
Thank you, btw. ;)
> I would really like to see enabling/disabling
> searches implemented.
Me too.
> The next step is to _really_ disable searches. This
> would require the following...
> - Another method added to DQSDTools.dll that lets us
> rename files from script.
> - Modifying the help window code to:
> a) actually read all search files (both enabled and
> disabled) when it is displayed, instead of using the
> existing cache of already-loaded searches. The entire
> search would not need to be parsed, just the name and
> description.
> b) actually rename search files (e.g.,
> *.xml_disabled) as they are disabled by clicking the
> checkbox.
>
> Thoughts?
Sounds good. It gave me an idea to disable all of the searches on my
system that I don't want "by category", by using the following method
(though bulky, it's not quite as cumbersome as fifty clicks - I hate
the mouse).
* Open a Windows Explorer view of the DQSD search
directory and open the search toolbar.
> ".xml" in [Search For]
> "<category>Entertainment</category>" in [Containing text]
> [Search Now]
> Then I used a tool of my own design (FixNames, available
here: http://ReliableAnswers.com/Freeware/#FixNames ) to
replace ".xml" with ".disabled" in the file names
After three searches I 'fixed' the Fun, Finance and Entertainment
searches, and had only to 'fix' the system aliases to remove
references to the searches that were disabled. THIS is something that
the enable/disable engine will have to take into account, since it's
not something that can be readily automated by file system recursion.
Otherwise, it raises errors if these searches aren't loaded. :(
Regards,
Shawn K. Hall
http://ReliableAnswers.com/
'// ========================================================
Is this yours? Your dog left it on my lawn.
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel