Open n3h3m opened 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 😄
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!
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.
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 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 theAXManualAccessibility
on it. then it getsuccess
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.
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.