Open lolDayus opened 9 months ago
This could be an issue on particular systems or versions. The cmd line you listed above seems to work for me, both --start and --stop. However, --stop does not visually update my GUI and seems to break it entirely? Right-clicking the system tray icon and using those button still works.
This does not work in V5 will be back soon
In case someone needs to hear this I found an easy but janky workaround. Just kill the processes. It actually works pretty well for me. Depending on which process(es) you kill you can even disable it for only a ~5 second window.
A little barbaric sure but it gets the job done until V6.0. This issue was interfering with pyautogui but I didn't want to disable LBM each time I wanted to run a script so I just wrote a hook to kill LittleBigMouse.Hook.exe immediately before moving the cursor.
Referring to this from the readme:
C:>"C:\Program Files\LittleBigMouse\LittleBigMouse_Daemon.exe" --start
So obviously I've tried the same command line with LittleBigMouse.Ui.Avalonia.exe and LittleBigMouse.Hook.exe subbed in for LittleBigMouse_Daemon.exe but neither works. Tried to use /taskkill as well, same thing. I get an error when using the Avalonia one and the Hook one works but it just opens the hook and doesn't actually run the program.
Just trying to automate starting/stopping the program whenever I switch to multiple/single displays, respectively.