Script for returning results from an online dictionary

Mbyllur Postuar 5 vite mё parё Paguhet në dorëzim
Mbyllur Paguhet në dorëzim

I do a lot of translation between Vietnamese and English. I rely on two websites which allow you to search for an English/ Vietnamese word and view side-by-side translations, using that word in the context of an English + Vietnamese sentence.

They both offer an API:

[login to view URL]

[login to view URL]

If possible, I would like to create a script that does the following:

1) Word to be searched is selected by one of these methods:

a) highlight word + press hotkey

b) copy word to clipboard + press hotkey

c) press hotkey -> floating search field pops up -> enter word

If all 3 methods can be used interchangeably, would be perfect.

2) After search is triggered, pop-up window appears showing the SENTENCE results of glosbe and/or tracau.

Maybe different hotkeys could be used to trigger either website?

Sorry because I don't know how pop-ups work in the confines of AHK, but it shouldn't be a chrome window if possible. A standalone window that displays the results scraped from the site.

3) This step is not so important and could be skipped.

What would be amazing is if results could be tabbed within the window. So for example, I perform a search for the word 'apple' and the results get displayed in tab 1. Then I perform a search for 'orange', tab 2 automatically opens to display the set of results for orange.

Even more amazing if hotkeys (like ctrl 1, ctrl 2 etc.) could be used to quickly switch between open tabs. *

4) Hotkey to dismiss window/ tabs.

After I've seen the results for a word, option to quickly press a hotkey and have the window close again.

*The reason is that I need to do complicated translations with many difficult words per sentence, so checking only 1 word at a time is very tedious. Can sometimes lose track of what each word means if doing a very long sentence.

AutoHotKey

ID Projekti: #18744241

Rreth projektit

3 propozimet Projekti në distancë Aktiv 5 vite mё parё

3 profesionistë freelancer dërguan një ofertë mesatare prej £48 për këtë punë

jfayes

I have previous experience and enough time to complete this task as well as you requirements. Just send more details on Chat.

£55 GBP për 3 ditë
(8 Përshtypje)
2.5
smsaurabhv

‌Hi, I have gone through your requirement to scrape lots of websites. I am EXPERT in building scraping tools /scripts. Hence, I can SURELY work on your project. I am having 4 YEARS of EXPERIENCE in developing PHP-PYTHO Më shumë

£66 GBP për 3 ditë
(0 Përshtypje)
0.0
achatainga

Good day, I have worked with autohotkeys doing a bot which reads information from a chat inside a virtual machine and reacts to commands. For example my autohotkey app is 7000 lines of code and can read my input as Më shumë

£23 GBP për 1 ditë
(0 Përshtypje)
0.0