Applescript to search all Faithlife Resource stores

Some of us have quite broad interests, and can find that we have searched the wrong Faithlife store for a particular resource, and it's very time-consuming to search each store individually. I have bought products elsewhere before, only to find they were available in another one of Faithlife's stores.
So, this evening, I gave in and wrote an Applescript to search all of the following stores, and to populate all of them with a given search term that it collects from the user when run:
- Logos.com
- Vyrso.com
- Verbum.com
- Noet.com
- Ebooks.noet.com
I can't upload an Applescript to the forums directly, so I've had to enclose it in a zip file.
It's not sophisticated, but is a way round what has been a bit of an irritating problem for me.
It simply adds whatever you type into the dialog box to the end of the search string after the "search?q=" or "search?query=".
EDIT: It opens each store in a separate tab.
It will only work with Safari as I've written it but it should be simple enough to change if you prefer another browser.
You need to unzip and install the script in your Applescripts folder (I think the default is documents/Applescripts). You then need to find a way of running it quickly. I use Keyboard Maestro (www.keyboardmaestro.com ) to do this, and have assigned it to ctrl+alt+l, but it's up to you how you do it (and there might be better ways of embedding it.)
There might be far better ways of doing this, and it's only "as-seen" and if you're on Windows you'll need to work out something for yourself!
Hope that's useful to some.
Running Logos 6 Platinum and Logos Now on Surface Pro 4, 8 GB RAM, 256GB SSD, i5
Comments
-
Thank you Greg! Well done. I've made scripts to search other websites, but never thought to make one for the Faithlife websites.
FWIW: You can also save it as an application and stick it in any folder and just run it when you need it.
Thanks again—good job!
0 -
Thank you - I'll give that a go.
Running Logos 6 Platinum and Logos Now on Surface Pro 4, 8 GB RAM, 256GB SSD, i5
0 -
Very nice...thanks!
0 -
Thank you, Greg. I downloaded your script, heeded Levi's suggestion and saved it as an application, put it in the Dock, and purchased a book for which I would never have thought to search Noet.
0 -
I don't own a MAC. Is there anyway to get this working on a PC?
0 -
Mattillo said:
I don't own a MAC. Is there anyway to get this working on a PC?
https://community.logos.com/forums/p/82288/575992.aspx#575992
0 -
Neat. How would I add the other sites to that? It looks like it only searches logos and vyrso
0 -
I'm not a javascript guy. The obvious update:
[quote]
javascript:void(q=prompt('Logos/Noet/Vyrso Multi-Search:',getSelection()));if(q) { location.href='https://logos.com/products/search?q=' + escape(q) + '&unlocked=no'; window.open('https://ebooks.noet.com/search?query=' + escape(q) + '&unlocked=no'); window.open('https://vyrso.com/products/search?q=' + escape(q) + '&unlocked=no'); }
Works in Firefox, but Chrome seems to put a limit on windows/tabs opened. I don't know if there is a workaround yet.
0 -
Thank you! I followed your lead and added noet.com as well. Works like a charm.
0 -
javascript:void(q=prompt('Logos/Noet/EbooksNoet/Vyrso Multi-Search:',getSelection()));if(q) { location.href='https://logos.com/products/search?q=' + escape(q) + '&unlocked=no'; window.open('https://ebooks.noet.com/search?query=' + escape(q) + '&unlocked=no'); window.open('https://noet.com/search?query='+ escape(q) + '&unlocked=no'); window.open('https://vyrso.com/products/search?q=' + escape(q) + '&unlocked=no'); }
0