11/23/2023 0 Comments Xyplorer scripts![]() I keep these three scripts in my \Scripts directory and use them by creating a catalog item that does ::load WinSearch. ProcessContentsQuery.xys: loaded by the CONTAINS script to convert the query in to SQL form for contents search.įour permanent variables are created to allow these scripts to share information: $perm_name_query and $perm_contents_query are filled with the SQL-like query, while $perm_freetext_query and $perm_contains_query hold the last user-specified queries so they don't need to be input again on the next call to the script.ProcessNameQuery.xys: loaded by the CONTAINS script to convert the user-supplied query into SQL form for name search.WinSearch.xys: contains two scripts: FREETEXT and CONTAINS (see below for what they do).The attached file WinSearch.zip file contains three script files: Create a paper folder called "SearchResults" containing these results, and display its contents.Call cscript.exe from the command prompt to run the VBScript, and return the list of found files to XYPlorer.Create a WinSearch.vbs file containing the VBScript (this file is created inside XYPlorer's scripts folder).Change it into the form required by the SQL syntax. ![]() So I wrote scripts that do the following: You'll have to check out the links I've provided above if you want to dig into the details of this SQL search syntax. What I could get to work are the following: i) partial string matching using LIKE in file name searches ii) simple fulltext searching using FREETEXT and iii) fulltext searching with boolean operators and prefix matching using CONTAINS.Some of those potentially useful features-such as automatically matching inflected word forms using FORMSOF-I could not get to work right. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |