Skip to content

The libuic allows to programmatically control UI elements of OS-X applications.

Notifications You must be signed in to change notification settings

polym0rph/libuic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

The libuic allows to programmatically control UI elements of OS-X applications. It provides the functionality to save UI elements, to perform a ‘PRESS’ action and to set the ‘AXValue’ attribute. The lib uses the mac OS-X accessibility API to control other applications.

The apple developer tools provide an ‘Accessibility Inspector’ to explore application UI elements and their possible actions:

open /Developer/Applications/Utilities/Accessibility\ Tools/Accessibility\ Inspector.app

Example

uic::UIController uiController;

// save UI element under the current mouse position
uiController.saveUiElement(1);

// perform 'PRESS' action for the last stored UI element
uiController.performAction(1, uic::UIController::PRESS, false);

Note: The included sample-app requires ncurses.

Build process

  1. mkdir build
  2. cd build
  3. cmake ..
  4. make

Documentation

  1. cd build
  2. make docs
  3. open ../docs/doxygen/html/index.html

About

The libuic allows to programmatically control UI elements of OS-X applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published