Skip to content
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

Not seeing results #2

Open
misterlib opened this issue Jun 20, 2023 · 0 comments
Open

Not seeing results #2

misterlib opened this issue Jun 20, 2023 · 0 comments

Comments

@misterlib
Copy link

Attempted to utilize today and did not see any results.

Here is my current code.

let sender = KeySender(key: .rightArrow)
		sender.trySend(to: "TextEdit")

Some things to note:

  1. I first attempted to send .rightArrow to an app to advance to the next slide where this key will do that, but nothing happened. I did get errors a bit as I had to poke around for the actual app name, but once I got the app name, still nothing.
  2. Then I tried a similar task in Slack, moving the cursor, but nothing happened. I also tried to type a letter but nothing happened.
  3. Finally I switched to TextEdit since that was in the example and tried sending .rightArrow and .c but those didn't work either.

My thought is that I have a permissions problem?

I'm building this as a SwiftUI Mac App in XCode 14.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant