Skip to content

Focus required for interactions #37

@nameghino

Description

@nameghino

I'm trying to build a sort of POC for a software remote controller to Keynote to pass slides and I found that whenever I click on my application's UI to trigger a Keynote change, nothing happens unless Keynote is in foreground, so I have to resort to cmd+clicking on my app so that Keynote remains foreground and then the AXPress event is sent and received by Keynote

I've tried using AXRaise to bring Keynote to front before sending the AXPress event but I find that it's still not received.

Is there something I'm doing wrong? How can I use AXSwift to bring Keynote to front so that my events are delivered?

Thanks!

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