mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 02:08:33 +00:00
add get main title check isValid()
This commit is contained in:
parent
1bb08731d1
commit
de0ebaaf3c
1 changed files with 3 additions and 0 deletions
|
|
@ -571,6 +571,9 @@ void CloseWin(void){
|
|||
}
|
||||
|
||||
char* get_main_title(){
|
||||
// Check if the window is valid
|
||||
if (!IsValid()) {return "IsValid failed.";}
|
||||
|
||||
return get_title_by_hand(mData);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue