Thanks, I appreciate the info.Koxicain wrote: ↑Wed May 20, 2020 6:10 amI think it was because of a Slash command.
When i move with arrow keys / q,e etc. And spam click the window.
It only happened to me once. Could also be that i use mouseclick 4 and 5 above it.
I will keep testing and if i get some issue i will report it right away in more detail
Before I reply to your questions, let me ask you one. It's not clear to me what you're trying to do. Are you trying to control OBS with Mojo? That's not possible because Mojo isn't designed for that purpose. Although people like to call it a "macro program" it's not a macro program. Mojo's hotkeys send signals to copies of DAOC that it launches. It does not and cannot and is not supposed to send signals to any other programs.
Do you mean you're expecting OBS to receive a signal from a Key() command in a Mojo hotkey? That can't happen. The Key() command triggers actions inside DAOC that are bound to keys. That's all it does. It does not generate keystrokes in a form that can be seen by any program other than DAOC. It cannot affect any program except copies of DAOC that were launched by Mojo.
I'm not sure what you're expecting Passthrough to do. It's not involved when you click a button with the mouse. Passthrough tells the operating system, "Do what you would do if Mojo weren't here." Passthrough applies only to your fingers' actions on the physical keyboard, because those are the only keystrokes the OS does anything with.
Normally the OS passes those keystrokes to the foreground window, but when a Mojo script is loaded, and when the physical key event happens to trigger a hotkey, Mojo intercepts the key event and by default swallows it, preventing the OS from sending the keystroke to the foreground window. Passthrough tells the OS, "Pretend Mojo isn't here. Do what you would do normally. Pass that physical event to the foreground window like you usually do."
None of this applies when you click a button with the mouse because (1) the only physical event that is occuring, the mouse click, is already passing to the foreground window (the button panel is the foreground window). And (2) there aren't any physical key events for the OS to pass.
Fix what? You haven't reported anything that's broken -- at least not anything that's broken in Mojo. If you explain to me in more detail what you're trying to do maybe I can tell you a way or maybe I can add a feature that lets you do it.