-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with keyboard.type in to Spotlight on MacOS (Catalina) #152
Comments
I'm aware the hackFix async function doesn't actually await but it seems to make no difference for the purposes of this, whether I do it this way or do lots of separate "await keyboard.type(Key.C) etc" commands to type out calculator. In my limited experience with this library, it isn't just typing in to Spotlight that causes this. It sees to type OK in to the terminal, but i'm currently able to type in to a virtual machine in the background using "keyboard.type(Key.C)" but "keyboard.type("C")" doesnt work. |
Hi @jzr1991, both I'll take a closer look, thanks for reporting! Best regards Simon |
…GHIDEventTap consistently to not lose input
…GHIDEventTap consistently to not lose input (#99)
Closed by #361 |
Version
@nut-tree/nut-js": "^1.4.1"
Short overview
Following an example on trailmix under "type" (https://github.com/nut-tree/trailmix/tree/master/packages/keyboard-test) I try to open Spotlight and then type. However, it seems that when trying to do this with keyboard.type("string") it very rarely works, or it types part of the string, etc.
Issue occurs on
Detailed error description
Following an example on trailmix under "type" (https://github.com/nut-tree/trailmix/tree/master/packages/keyboard-test) I try to open Spotlight and then type. However, it seems that when trying to do this with keyboard.type("string") it very rarely works, or it types part of the string, etc.
Using "keyboard.type(Key.S, Key.T.. etc)" seems to work no problem, so it seems to be an issue with passing in a String to the keyboard.type function.
Steps to reproduce error
Additional content
N/A
The text was updated successfully, but these errors were encountered: