Page 1 of 1
Change text list to boolean and search for it.
Posted: 08 May 2015 23:31
by kunkel321
highend wrote:Code: Select all
copytext replace(formatlist("<clipboard>", "e", "<crlf>"), "<crlf>", " OR ");
Again, thanks for the script Highend! This post is a "caryover" from here
http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=13954
So my thought is to get a list of search terms, such as:
- Jon Doe
Amy Smith
Don Martin
into my clipboard, then launch XY and a script via command line switch.
I've saved a Search Template called, "StudentSearch," and it appears that I can call it with
Code: Select all
loadsearch template "StudentSearch" , r
But I want the search string to be the new list of students in my clipboard (after it's made into "Jon Doe OR Amy Smith OR Don Martin," of course). I DON'T want to keep searching for the same text over and over... Is that possible to achieve?
Edit: "Don't" want...
Re: Change text list to boolean and search for it.
Posted: 09 May 2015 01:02
by highend
Code: Select all
copytext replace(formatlist("<clipboard>", "e", "<crlf>"), "<crlf>", " OR ");
setkey "<clipboard>", "Named", "Named", "<xydata>\FindTemplates\StudentSearch.ini", 1;
loadsearch "StudentSearch", "r";