translate

Featured Links

Questions & Answers

This listing is a compilation of both questions asked in-site and questions related to accessibility themes gathered from different sources (stackoverflow, UX Stack Exchange).

Displaying 1 - 3 of 3 questions

Enable accessibility keyboard in OS X Mac using cocoa code

Stackoverflow

I am creating an app for disabled persons for Mac, so I want a way to open accessibility keyboard from code, so that user does not have to go to settings.
Any Help would be appreciated.

Tags: 
  • macos
  • accessibility
  • swift4

Swift4: `AXUIElementCopyAttributeValue()` returns `AXError.cannotComplete`

Stackoverflow

On running the following code:

let pid = getAppPid()
let AXApp = AXUIElementCreateApplication(pid)

Tags: 
  • swift
  • osx
  • cocoa
  • accessibility
  • swift4

CGWindowListCopyWindowInfo debugging, returns nil on some systems

I have two identical 10.13 boxes that I use to build a tool that uses the Accessibility API. The tool needs to get a list of open applications.

Tags: 
  • swift
  • accessibility
  • swift4
  • uiaccessibility
  • quartz