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

Message when access for assistive devices and applications is disabled #116

Open
lugolven opened this issue Sep 3, 2014 · 2 comments
Open

Comments

@lugolven
Copy link

lugolven commented Sep 3, 2014

Hi,

I am using a MacBook, Mac OS 10.10.

Steps to produce the situation :

  • run Dahu with command line : java -jar Dahu-0.3.jar
  • open a new project
  • click on "Capture mode"

Then dahu stops and there is this message on my terminal :
There was a problem registering the native hook. Please enable access for assistive devices and applications to Dahu Editor.

I found on the web how to enable access for assistive devices and applications. But It would be helpful to give more information to the user, maybe add a link to http://support.apple.com/kb/HT6026 ?

In adding, if the user starts Dahu directly by clicking on the jar, there is not message when the problem occurs. Dahu stops without any message.
I think a popup would be better instead of a message on the console.

@barraq barraq added this to the 0.4 (Next) milestone Sep 3, 2014
@barraq
Copy link
Member

barraq commented Sep 3, 2014

Hi @lgolven thanks for pointing this out, indeed we must handle this situation for Mac users. If "access for assistive devices and applications" is not activated then we will popup some message asking the user to activate it.

@nightscape
Copy link

As a hint for future seekers:
You can enable accessibility for your terminal (iTerm.app or Terminal.app) like this:
https://support.apple.com/de-de/HT202866
Then just launch Dahu from the terminal with java -jar Dahu-0.3.jar

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

No branches or pull requests

3 participants