Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 2.11 KB

README.md

File metadata and controls

27 lines (17 loc) · 2.11 KB

Java Access Bridge Wrapper for AutoHotkey

The Java Access Bridge for Windows is an API provided by Oracle to use the accessibility features of Java-Swing GUIs. This repository contains wrappers for this API to use the Java Access Bridge from AutoHotkey.

The files in this repository are:

How to use

Before you can access Java applications through the Java access bridge you need to enable or install the Java Access Bridge first.

To get an overview of which accessible information is published by your Java application you can use JControlWriter.ahk.

With your Java application as the active window, press either Ctrl-Alt-F10 or Ctrl-Alt-F11 to show a list of the accessible controls.

Known issues

  • Not all functions are wrapped yet; see comment section at the end of JavaAccessBridge.ahk
  • Java applications can sometimes behave strangely. For instance when you use an action to call a function that opens a dialog, this call may not return until the dialog is closed again, effectively freezing your script. Use the "left click" action in those cases.