Created
November 9, 2021 18:24
-
-
Save khchen/2f398c5fe1b3ff9ef83b3ee37258698a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #[ | |
| Author: Ward | |
| Example of FindWindow | |
| References: | |
| https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-findwindowa | |
| ]# | |
| import winim/lean | |
| # This code is extract from https://github.com/khchen/wAuto | |
| # Minimizes all windows. Equal to send("#m"). | |
| PostMessage(FindWindow("Shell_TrayWnd", NULL), WM_COMMAND, 419, 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment