Applescript to search all Faithlife Resource stores

Page 1 of 1 (12 items)
This post has 11 Replies | 1 Follower

Posts 808
GregW | Forum Activity | Posted: Sun, Aug 28 2016 2:49 PM

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.

2626.Logos queries.zip


Running Logos 6 Platinum and Logos Now on Surface Pro 4, 8 GB RAM, 256GB SSD, i5

Posts 1105
Levi Durfey | Forum Activity | Replied: Sun, Aug 28 2016 3:53 PM

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!

Posts 1052
Liam | Forum Activity | Replied: Sun, Aug 28 2016 3:56 PM

Wow! Greg this is excellent! Thank you!

Posts 808
GregW | Forum Activity | Replied: Sun, Aug 28 2016 3:57 PM

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

Posts 180
Stephen Terlizzi | Forum Activity | Replied: Sun, Aug 28 2016 6:13 PM

Very nice...thanks!

Posts 10116
Forum MVP
Jack Caviness | Forum Activity | Replied: Tue, Aug 30 2016 10:12 AM

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.

Mac Logs | PC Logs | Install 

 

Posts 2169
Mattillo | Forum Activity | Replied: Tue, Aug 30 2016 12:43 PM

I don't own a MAC.  Is there anyway to get this working on a PC?

Posts 1752
Randy W. Sims | Forum Activity | Replied: Tue, Aug 30 2016 12:55 PM

Mattillo:

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 

My Base Packages

Custom PC: Core i7; 32GB RAM; GeForce GTX 970; Win 10 Pro
Samsung ATIV Smart PC Pro 700T: Core i5; 4GB RAM; Win 10 Pro
Google Pixel XL | Apple iPad Pro 9.7

Posts 2169
Mattillo | Forum Activity | Replied: Tue, Aug 30 2016 1:04 PM

Neat. How would I add the other sites to that? It looks like it only searches logos and vyrso

Posts 1752
Randy W. Sims | Forum Activity | Replied: Tue, Aug 30 2016 1:33 PM

I'm not a javascript guy. The obvious update:

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.

My Base Packages

Custom PC: Core i7; 32GB RAM; GeForce GTX 970; Win 10 Pro
Samsung ATIV Smart PC Pro 700T: Core i5; 4GB RAM; Win 10 Pro
Google Pixel XL | Apple iPad Pro 9.7

Posts 2169
Mattillo | Forum Activity | Replied: Tue, Aug 30 2016 2:20 PM

Thank you!  I followed your lead and added noet.com as well.  Works like a charm.

Posts 2169
Mattillo | Forum Activity | Replied: Tue, Aug 30 2016 2:27 PM

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');  }

Page 1 of 1 (12 items) | RSS