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

How to get the scroll ranges of an NSScrollView via the accessibility interface?

Stackoverflow

I'm trying to get all possible information from an NSScrollView using the accessibility interface in Cocoa. I can read various things like the id, enabled state, scroll position, frame etc.

Tags: 
  • cocoa
  • accessibility