ControlClick with Java Access Bridge
ControlClick with Java Access Bridge
Hi, I was wondering if someone could assist me in executing a controlclick through java access bridge? I'm really new here and all this stuff is confusing.
- Stevoisiak
- Posts: 12
- Joined: 24 Aug 2017, 14:19
- Contact:
Re: ControlClick with Java Access Bridge
I have been researching the Java Access Bridge myself to limited success. Here are a few pieces of advice:
- The Java Access Bridge is installed by default as of Java 7 Update 6
- Make sure the Java Access Bridge has been enabled in the Ease of Access Center (instructions)
- Elgin created "JavaAccessBridge.ahk", which is a library for interacting with the JAB API. (See How to send to unseen controls in a Java app). The library didn't work for me personally, but others have reported success.
Possibly helpful links
- Stack Overflow: How to automate java application with autohotkey
- Oracle: Enabling and Testing Java Access Bridge
- AutoHotkey (Archived Forums): How to send to unseen controls in a Java app
- Google Access Bridge Explorer (Modern replacement for Java Ferret & Java Monkey)
- The Java Access Bridge is installed by default as of Java 7 Update 6
- Make sure the Java Access Bridge has been enabled in the Ease of Access Center (instructions)
- Elgin created "JavaAccessBridge.ahk", which is a library for interacting with the JAB API. (See How to send to unseen controls in a Java app). The library didn't work for me personally, but others have reported success.
Possibly helpful links
- Stack Overflow: How to automate java application with autohotkey
- Oracle: Enabling and Testing Java Access Bridge
- AutoHotkey (Archived Forums): How to send to unseen controls in a Java app
- Google Access Bridge Explorer (Modern replacement for Java Ferret & Java Monkey)
Last edited by Stevoisiak on 04 Oct 2017, 12:39, edited 1 time in total.
Re: ControlClick with Java Access Bridge
Hi!
See my post in the thread that Stevoisiak linked above. If something doesn't work, let me know.
See my post in the thread that Stevoisiak linked above. If something doesn't work, let me know.
- Stevoisiak
- Posts: 12
- Joined: 24 Aug 2017, 14:19
- Contact:
Re: ControlClick with Java Access Bridge
I've been having issues getting the script to work myself actually. (It's why I revived this year-old thread).Elgin wrote:Hi!
See my post in the thread that Stevoisiak linked above. If something doesn't work, let me know.
I am attempting to analyze a Java webapp known as Kronos Workforce Central 6.3. I have run JControlWriter.ahk, but pressing F11 while Kronos is open doesn't seem to have any effect.
- The Java window I am analyzing is named "Attach Jobs" (screenshot)
- Each provided file has been placed in a single folder. (JavaAccessBridge.ahk, JControlWriter.ahk, & JCWGUIStrings.ini)
- I have enabled the Java Access Bridge in the Access Center
- Kronos's clickable buttons are viewable when using Java Monkey (screenshot)
PC info:
- Windows 7 Professional - Service Pack 1 (32-bit)
- Java Standard Edition: Version 7 Update 76
- AutoHotkey 1.1.26.01
- Internet Explorer 10
Re: ControlClick with Java Access Bridge
I was apparently too lazy to type unambiguously there...
should have said "Press Ctrl-Alt-F10 or Ctrl-Alt-F11".Press Ctrl-Alt-F10 or F11
- Stevoisiak
- Posts: 12
- Joined: 24 Aug 2017, 14:19
- Contact:
Re: ControlClick with Java Access Bridge
Oh wow. Spent nearly an hour trying to figure that one out.Elgin wrote:should have said "Press Ctrl-Alt-F10 or Ctrl-Alt-F11".
Have you considered giving your library it's own forum post or GitHub repository? I'm sure many others like myself would find it very helpful.
Re: ControlClick with Java Access Bridge
For several years now I want to make it a bit nicer and put it on GitHub, but that "real life"-thing keeps getting in the way
- Stevoisiak
- Posts: 12
- Joined: 24 Aug 2017, 14:19
- Contact:
Re: ControlClick with Java Access Bridge
The library has been insanely helpful to myself as is. If it were hosted on GitHub I would love to contribute in its current form.Elgin wrote:For several years now I want to make it a bit nicer and put it on GitHub, but that "real life"-thing keeps getting in the way
- Stevoisiak
- Posts: 12
- Joined: 24 Aug 2017, 14:19
- Contact:
Re: ControlClick with Java Access Bridge
I recently discovered a very helpful tool for analyzing Java Applications called Access Bridge Explorer. It combines the functionality of Java Ferret and Java Monkey into a single application, and is compatible with Windows 7/8/10.
It can't export command lists like JControlWriter.ahk, but it can be used to retrieve the same information. It may be helpful for debugging.
It can't export command lists like JControlWriter.ahk, but it can be used to retrieve the same information. It may be helpful for debugging.
Who is online
Users browsing this forum: Bing [Bot], peter_ahk and 157 guests