Are you getting a red error message when you click?
If so, please read the error message. If it's not clear please paste it here and I'll explain it.
Are you getting a red error message when you click?
If so, please read the error message. If it's not clear please paste it here and I'll explain it.
�Author of HotkeyNet and Mojo
<ClickMouse> is asking HotkeyNet to click the mouse at a certain location on that window. But the window has no locations because it's minimized. Its width is zero and its height is zero. Therefore it's impossible for HotkeyNet to do what you're asking.
For example, how can HotkeyNet click halfway across the window when the width is zero? What's half of zero?
Here's an alternative that might work. Instead of minimizing the window, you can hide it with <HideWin>. I've never tested this, but you may be able to send mouse clicks to a hidden WoW window.
�Author of HotkeyNet and Mojo
In a hotkey. You would use the hotkey instead of minimizing the window.
�Author of HotkeyNet and Mojo
There are many different ways this can work. You have to decide what you want to do with your fingers and how you want the computer to respond before anybody can tell you how to write the script.
For example, suppose you want to be able to press a certain key. The first time you press it, one of your WoWs gets hidden. The next time you press the key, that WoW gets revealed again.
That's just an example. You can do many other things. . Instead of hiding WoW, you could shrink it and cover it. Instead of doing it to one WoW, maybe you want to do it to twenty WoWs simultaneously. Instead of making a hotkey for this purpose, you could add this action to an existing hotkey, maybe your PIP hotkey, so it happens automatically when you PIP.
But I'll continue with the example I made up, a single hotkey that hides one WoW. Suppose you want that to happen when you press F9. Why F9? It's just an example. Pick any key or key combination you like.
You would write something like this:
Code:<Hotkey F9> <Toggle> <TargetWin WoW1> // Substitute name of window on your PC <HideWin> <Toggle> <TargetWin WoW1> <ShowWin>
�Author of HotkeyNet and Mojo
Connect With Us