Script and instructions to create google translate, urban dictionary and duckduckgo.com shortkey for MacOS. No more copy pasting, opening a browser tab , going to google translate etc etc. MacOS Automator script (worklfow) + google translate(+urban dictionary) + shortkey binding.
View the Project on GitHub StevenPeutz/MacOS-EasyLookUp-tool
When installed, the EasyLookUp tool works by;
The EasyLookUp tool works within Chrome, Safari, Firefox, Brave, google docs, Quip, Notes and some other applications
Download the ‘EasyLoopUp’ zip file from this github
</br> </br>
Go to your downloaded file and unzip it. The unzipped file should contain 4 files:
(2) Then click the x-out in the following window</br>
Repeat this this for the remaining files. (double click the file, click install, click x-out)</br>
</br>
Go to **Keyboard **(‘system preferences’ > keyboard) or go there directly by typing ‘keyboard’ in spotlight.
Under ‘Keyboard’ click the tab named ‘shortcuts’, then in the left column select ‘services’.
Now in the right (under the subheader ‘text’) you should find all the scripts starting with ‘ELU_’.</br> </br> Make sure the blue box for each of the scripts starting with ‘ELU_’ is ticked and click where it says ‘none’ to *create the shortcut **as seen in the screenshot above. *Surprisingly much shortcuts (especially within chrome) are reserved already which will overrule the one you create here, preventing it from working. </br> To prevent this use the ones listed below:
**Congratulations! **You have set up a convenient lookup tool that will work in any browser and most other applications as preview, Google Docs, Quip, Notes etc.
Take it for a spin now or just try it when working queues;
</br>
</br>
***Hi!
If you enjoy using this, if these scripts and setup guide has helped you, or if you have tips how to make it better please send me an email with your feedback or questions! I would appreciate it greatly ***
Thanks! Steven Peutz</br>
</br>
</br>
</br>
</br>
</br>
For who is this?
Anyone who uses MacOS and is tired of copy pasting in new tabs in their browser to go to google translate or urban dictionary.
</br>
Where are the script located after saving etc?
Finder > Home > Library > Services. (If there is no ‘Library’ folder within your ‘Home’ folder, go to your home folder and fo to ‘view’ in the menubar and click ‘show view options’ and select the option to display the Library folder.)
</br>
I want the google translation to be in some other language than English.
The parameter ‘tl’ is here set to ‘en’ (english) but this can be replaced to language of choice (just look up the google translate language code (find here)) and change it in the script.
set output to "http://translate.google.com/translate_t?sl=auto&tl=en&text=".....
The scripts (after clicking install) do still not all show up under ‘shortcuts’ > ‘services’ (step 3.)
If this is the case you should right click the file (see question above for location of scripts) in finder and choose ‘open with atom’. This should open a folder with two scripts, go to the second one (named inf.plist) and check whether the name used in that script is exactly the same as the name of the workflow file itself.
</br>