I have a MacBook running Sierra with 2 user accounts User A is admin User B is normal.
KM is installed on User B’s account only.
I execute a Macros that does a series of Copy Paste when logged in under User B and then switch to my User A session. User B sessions is therefore running in the background.
On User A’s session, the copy-paste that should run under User B’s session occur on User A.
What sorcery is this ?
The very same problem occurs when remotely logging on User B with Team Viewer or VNC. I logged in User B, run the macro and I see the effect of it on the running User A session on the screen.
No idea. You should report it to Apple as it sounds like a serious security violation.
Keyboard Maestro simply simulates the key strokes, so there is no way those keystrokes should be able to find their way in to User A’s account.
If you VNC in to User B with Team Viewer, and do copy & paste that way, does that affect User A as well?
Ahh, unless you have software that is somehow sharing the clipboard, which could possibly include Apple’s new Continuity Universal Clipboard system (https://support.apple.com/en-au/HT204681).
The same issue appears when I VNC or TeamViewer on the account. No matter what accounts is logged in in the front will show impact of the macro running in the background, including the "Action Completed" sound of the macro, which is normally not possible.
It's like Keyboard Maestro is running on a superuser level and get on top of all the logged in user in terms of level of permission.
This is very strange.
I can produce more videos if you want different scenarios.
Keyboard Maestro does not have any superuser permissions. It runs without any elevated permissions as a normal application. There is no admin install process for Keyboard Maestro, and no admin password required to run it. You might need to enter your admin password to put it in the Applications folder, but that does not give it any extra permissions.
Keyboard Maestro simply posts the events to the keyboard event queue using the normal event queue posting mechanism.
I just tried to duplicate your macro and did not get the same results. My macro inserted the text in the source account as expected and nowhere else.
How did you switch accounts without typing a password?
Is there perhaps anything else going on on your Mac?
Did you try using TeamViewer VNC to the account and entering keys that way and do those keys go to the wrong account as well.
I really have no idea I’m afraid - I would have said what you describe was impossible, yet clearly it is happening. It points to a gaping hole in the security of your system, which is not something Keyboard Maestro can accomplish since it lives within the confines of your user account.
Hello,
I have just installed a fresh copy of High Sierra, then a brand new try-out copy of KM8 and this bug still occurs.
This was not due to my old system.
I really don’t understand what is going on.
Please help,
Thank you so much
If Keyboard Maestro, without any extra permissions (which it does not have), simulating keystrokes on one account, is typing keys into another account, then that is a significant security violation which you should report to Apple.
Keyboard Maestro does not run with any extra permissions, does not install any privileged helper tools (except temporarily for upgrades), so it should not be able to access any other account, or influence it’s behaviour in any way. Keyboard Maestro simply adds keys to the event queue.
Either something in your system is passing the keys through from one account to the other, or there is something very broken in the system handling of the event queue.
But there is nothing Keyboard Maestro can do differently in this regard - what you show should be impossible.
Unless you have some hardware or software installed that is intercepting and redirecting the event queue keys, I have no idea what might be going on.