---
title: 'Snapping to the window'
url: 'https://wiki.botmek.com/document/hwnd'
markdown: 'https://wiki.botmek.com/document/hwnd.md'
lang: ru
date: '2019-03-22'
description: 'BotMek - sending keystrokes to an inactive window of a game or any other program.'
---

[](#)  [ Documentation ](https://wiki.botmek.com/)      Snapping to the window    

# Snapping to the window

**The BotMek program has 2 modes of operation:**

- [Work without being tied to the window](#no)
- [Work with binding to the window](#yes)

To select the mode of operation, go to the "Window" menu.

![](https://wiki.botmek.com/document/hwnd/1.png)

**Work without being tied to the window [ ![](https://wiki.botmek.ru/totop.png)](# "Вверх")**

---

The function works only with the active window.

![](https://wiki.botmek.com/document/hwnd/hwnd_no.png)

**Work with binding to the window [ ![](https://wiki.botmek.ru/totop.png)](# "Вверх")**

---

The function works with a specific window to which the program was attached, while the window may be inactive, blocked by other windows or minimized.

To tell the program which window to work with, click the left mouse button on the red slider and drag it to the required window.

![](https://wiki.botmek.com/document/hwnd/hwnd_yes.png)

---

## Navigation

- Parent: [Documentation BotMek](https://wiki.botmek.com/index.md)
- Next: [Creating hot keys](https://wiki.botmek.com/document/hotkey.md)
