Skip to content

Not seeing results #2

@misterlib

Description

@misterlib

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions