nathancahill / Anycomplete

The magic of Google Autocomplete while you're typing. Anywhere.
1.54k stars 49 forks source link

Add Anycomplete as spoon for Hammerspoon #30

Open asmagill opened 4 years ago

asmagill commented 4 years ago

I have created a Spoon for Hammerspoon based heavily on your code and some of the enhancements suggested (it can be found at https://github.com/asmagill/hammerspoon-config-take2/tree/master/_Spoons/AnyComplete.spoon).

It needs more testing and better documentation (like the hotkeys created when the chooser is visible) and cleanup, but I was wondering if you have any objection to my submitting it for inclusion with the official Hammerspoon Spoons?

I've included your name and the link here within the documentation -- if you think additional attribution is warranted, just let me know.

diego898 commented 3 years ago

@asmagill can you clarify what you mean by some of the enhancements suggested? thanks!

asmagill commented 3 years ago

It's been a while, but I think I made it possible to change/add which site was being queried (DuckDuck Go and Google were predefined, but if someone finds others, adding them was simple) and added in an adjustable delay to reduce spamming the server.

I ended up not using this much myself, but the code is still up at the specified link if anyone wants to use it.