feat(wm): manage return bool of PostMessage + update ahk library

this commit makes a small refactor to the way PostMessageW is used so now be able to handle the
returned bool, as well as adding a custom error message to WindowsApi::close_window and updating the
ahk generated library

#259
This commit is contained in:
Yusuf007R
2022-10-12 12:44:23 -05:00
committed by جاد
parent 33965f92ad
commit 352c010021
4 changed files with 22 additions and 5 deletions
+8
View File
@@ -52,6 +52,14 @@ Move(operation_direction) {
Run, komorebic.exe move %operation_direction%, , Hide
}
Minimize() {
Run, komorebic.exe minimize, , Hide
}
Close() {
Run, komorebic.exe close, , Hide
}
CycleFocus(cycle_direction) {
Run, komorebic.exe cycle-focus %cycle_direction%, , Hide
}