* Send a command to a window if it is valid, and focus it * @param {string} name window * @param {string} command * @param {...any} args
(name, command, ...args)
| 563 | * @param {...any} args |
| 564 | */ |
| 565 | sendAndFocusValid(name, command, ...args) { |
| 566 | if ( this.isValid(name) ) { |
| 567 | this.win[name].focus() |
| 568 | this.sendToWindow(name, command, ...args) |
| 569 | } |
| 570 | } |
| 571 | // #endregion |
| 572 | |
| 573 | /** |
no test coverage detected