Set a window Always On Top

This AutoHotkey script is related to this post:

https://community.sdl.com/product-groups/translationproductivity/f/studio/35337/why-is-the-find-and-replace-window-is-not-always-on-top

where the poster asked to set the Find and Replace window on top of the Editor.

The following script will set any window Always On Top. It works with any window, not only the Find and Replace dialog box.

I use the Application key plus the V keys as a hotkey, but you can change it to your convenience.

☛ The Application Key is also called the Menu Key and when pressed it opens a contextual menu: Screenshot of an AutoHotkey script to set the Find and Replace window in Trados Studio always on top using the Application key and V.

AppsKey & v::
        while GetKeyState("AppsKey", "P")
                Sleep, 20
        Winset, Alwaysontop, Toggle, A
return

Add these lines to your script file and when the Find and Replace window (or any window) is open and active, press the hotkey. From now on the window will be on top on any window, not that just the Editor. And it'll be on top until you close the Find and Replace dialog box or until you press again the same hotkey.

  • If you close the Find and Replace dialog box, and re-open it later, you will need to press your hotkey again to set it always on top.
  • If you use another hotkey, you might need to edit the GetKeyState parameter accordingly.

I hope it helps!



Generated Image Alt-Text
[edited by: Trados AI at 4:31 AM (GMT 0) on 5 Mar 2024]
emoji
Parents Reply Children
  •  

    The free training you are talking about, Paul, is the RWS University from which I received an email after buying Studio 2022?

    If you were to click on the link I provided (that is also in my signature for every post I make) you would see that it is not:  Ideas for Free Training 

    This is something we have setup in the community to try and provide free training on the things that users struggle with.  But I have to say that so far the biggest problem we seem to be having is getting users to understand that we want to do this!!  I still hear more people complaining that we don't provide help or that we don't provide any resources to help.  Frustrating to say the least and I am certainly open to any ideas about how we get this through to people?

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
  • Paul, I promise I will follow your training, as soon as I have some time to do it. You are so clear when you explain that it will certainly be a great training. The problem is often simply TIME, but I do not know about the other translators.
    Anyway, I have been working on the Studio 2022 editor all day today and it crashed almost 10 times... there is something wrong with this version. This did not happen so often with my previous version. By the way, how can I reinstall 2021? As I said above, I downloaded the sw again, but when installation starts, suddenly it stops and I get the usual error message saying that there is a more recent version... blablabla
    What can I do about that?

    emoji