dexterleng / vimac-releases

Binary releases for Vimac.
33 stars 0 forks source link

Support for more apps #31

Open n3h3m opened 4 years ago

n3h3m commented 4 years ago

Not sure how you we are tracking the progress of this app in terms of element detection. Just posting to say, I wish better elements detection for these category of apps.

1) Java based apps (IntelliJ, Pycharm, Eclipse etc) 2) Electron based apps (Slack, Insomnia)

So far very pleased with the native apps.

NolanChan commented 4 years ago

I imagine that Electron apps will be pretty difficult to conquer, but that would be a huge huge huge plus! Being able to use this in slack would be a life changer.

Would be very happy to help in any way 😄

dexterleng commented 4 years ago

I actually removed Chromium support because the AXEnhancedUserInterface property was breaking window managers, and I could not enable it directly before traversing for hints probably because of a race condition.

I would love to get Electron working, but I believe there is a bug preventing it from working. I have filed an issue here: https://github.com/electron/electron/issues/21672. @NolanChan Maybe you could work on it!

godbout commented 3 years ago

not directly related to Vimac, but i'm building an app that uses extensively the Accessibility too and i can't seem to enable to set AXManualAccessibility for whatever reason. AXEnhancedUserInterface goes through (although i don't seem to see much changes for my particular use) but AXManualAccessibility returns an attributeUnsupported from the AXUIElementSetAttributeValue. i use the AX extensively so things should be good (API calls, etc) but can't figure out how you're able to push that attribute. is there any special to it? thanks.

godbout commented 3 years ago

ok found it. for whatever reason in my case setting the attribute on the app doesn't work. i need to get the kAXFocusedUIElementAttribute attribute of the app, then set the AXManualAccessibility on it. then it get success returned, and only on Electron apps. so it seems to be correct. weird as if i get it correctly you don't need to do that yourself.

godbout commented 3 years ago

ok found it. for whatever reason in my case setting the attribute on the app doesn't work. i need to get the kAXFocusedUIElementAttribute attribute of the app, then set the AXManualAccessibility on it. then it get success returned, and only on Electron apps. so it seems to be correct. weird as if i get it correctly you don't need to do that yourself.

ok, actually it doesn't work. it says setting the attribute is a success but pinging it again after doesn't work.