View Categories

How to assign hotkeys to specific Montage or trading window?

< 1 min read

To assign hotkeys to montages or trading windows, users will first have to name their windows. To do this, right click on the title bar of your desired window. You will see the image below. Enter a name for the window in the “Name” section. I have named my montage window, “montage”.  Click “Ok” to save the name. Note that if you close the montage window, the name will not save, so each time you open a new montage window, you will have to give it a new name if you want to access it through scripts.

To create a hotkey to access it, we will create a variable to grab the window.

$montage = GetWindowObj(“montage”);

To see everything that can be accessed in the montage:

$montage.ShowObject();

will show the window below, which lists all the properties that the montage window offers. For example, to get the current ask price, we can write:

$montage.ASK;

Powered by BetterDocs