topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 2:26 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Example of using FARR to help you easily translate words  (Read 2330 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Someone asked me about how FARR could be used to quickly translate words that you might encounter while reading text in any app.
Here's a two step example:

1. Create an alias in FARR to open google translate on the specified text.  Here I've created a new alias in my MyAliases group, that triggers on "tr [word_or_phrase]":
Screenshot - 3_5_2020 , 12_30_45 PM.png

With that you can bring up farr at any time and type something like: tr computer and hit enter, to open google translate showing the translation.
You can add more actions in that alias to allow you to do other things like look up the definition of the word, etc.

2. Now to make it easier to use, create a custom FARR hotkey that when triggered will copy the highlighted text in whatever app you are using and launch FARR with the tr keyword specified, ready to trigger:
Screenshot - 3_5_2020 , 12_33_30 PM.png

Now you can just select the text in any app and hit the hotkey.

Note that if you knew you only wanted one action ever on that hotkey you could save yourself from having to hit enter by adding a \n at the end of the "Text for Search Edit Box".



You might also try $$u1 instead of $$1 if you need the text urlencoded for a web page.
« Last Edit: March 07, 2020, 08:58 PM by mouser »