So I need to automate some clicks in a Java based program. I don't really see much info on the spy so I installed Java bridge and tried the ferret but still can't manage to make it work
https://gyazo.com/bb2d476806c02c2033f91d0c87821cab
Here on the screenshot I'm holding the mouse over the "Fold" button. Let's say you wanted to click on it, what function would you write?
Controlclick in Java based program
Re: Controlclick in Java based program
That button is always in the same location within the window? If so, use coordinates instead of a name.
Re: Controlclick in Java based program
relative coordinates with controlclick doesn't work for some reason
Re: Controlclick in Java based program
Hi!
See here on how to use the Java access bridge with AHK:
https://github.com/Elgin1/Java-Access-Bridge-for-AHK
There are several other threads on this forum, too.
See here on how to use the Java access bridge with AHK:
https://github.com/Elgin1/Java-Access-Bridge-for-AHK
There are several other threads on this forum, too.
Re: Controlclick in Java based program
Can Java Access Bridge for AHK be used so controlclick can do a simple click on relative coordinates?
Re: Controlclick in Java based program
You can use it to get the screen coordinates of a Java control an then do a mouse click there, if that's what you're looling for.
Re: Controlclick in Java based program
Well i need something to be clicked without moving the mouse.
Re: Controlclick in Java based program
That would be doing the click action or the focus action of a control, depending on the type of the control. No relative (or other) coordinates involved, though...