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 - 2 of 2 questions

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