699 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
59
views
ManiSkill and Habitat installation problems
I'm trying to run Habitat 2.0 (I need only Habitat 2.0) track using the instructions from these github repo https://github.com/Jiayuan-Gu/hab-mobile-manipulation?tab=readme-ov-file#installation but ...
3
votes
2
answers
104
views
Issue with java.awt.Robot KeyEvent for Special Characters (e.g., : and /)
Description:
Hello everyone,
I'm working on a Java application where I use the java.awt.Robot class to simulate keyboard input. It works fine for most characters, but I'm encountering an issue when ...
0
votes
1
answer
142
views
Robot class in Javafxml
I am a beginner, and I have a question regarding Robot class in JavaFX. I have the following code.
Basically, when I manually click on AnchorPane, method click gets activated, and when the mouse ...
0
votes
0
answers
48
views
Robot.createScreenCapture always captures non-convolved image
I'm currently writing a code that does simple image processing. In my code, pressing various buttons on the screen does convolution and/or manipulates each pixel's rgb values to show different effects,...
2
votes
1
answer
162
views
Take Screenshot using JavaFX
I am using the following code to take a window screenshot. The screenshot capture is from the wrong position if I take it on the second monitor with high resolution.
There should be an issue with ...
-1
votes
1
answer
96
views
Java AWT Robot: Why doesn't a smaller screen capture equal a subimage of a capture of the entire screen?
UPDATE: It seems this is a bug in Java: https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8322845
I encountered some weird behavior while experimenting with java.awt.Robot. If I use it to take two ...
1
vote
1
answer
82
views
Removing print statement affects functionality... corruption at play?
I wrote a java program which will minimize a window when moved to lower portion of screen. It performs the task by moving the mouse with Robot to the minimize button and pressing it with mousePress ...
2
votes
0
answers
111
views
Get current keyboard layout using java
I wrote code that changes the layout language on the PC until English is selected, the language changes, the key combination is correct, but the loop continues forever
InputContext context = ...
0
votes
0
answers
44
views
How would I sync up multiple java.awt.robot keyPresses?
I'm trying to setup a program that allows me to feed a musical score and get the Robot to sync up multiple key presses to play the song on a virtual piano. Everything is formatted correctly and the ...
0
votes
0
answers
99
views
How to upload file on mac with selenium java
Hello I want to upload a png file to the message
How do I do this?
When I try the robot it doesn't work
Please help me
The below-mentioned script is written as an example
main
choosefile
choosenfile
...
0
votes
0
answers
54
views
Robot doesn't move mouse in Java on Chromebook
Why doesn't the below code work for moving the mouse on a Chromebook?
import java.awt.Robot;
import java.awt.AWTException;
public class MoveMouse {
public static void main(String[] args) throws ...
0
votes
2
answers
546
views
Application login dialog in browser but not in DOM, how can I interact with it using automation tools
I am writing some automation in Selenium (Java) for an internal application which is quite old. I encountered something that I can't solve with any tools in Selenium and with general Googling, nothing ...
1
vote
1
answer
494
views
How to take screenshot of any java native application without bringing it to foreground in Java?
I want to take the screenshot of a java native application ( any framework AWT, Swing, JavaFx ) without bringing it to the foreground. Are there any framework-specific methods available for this?
I ...
0
votes
1
answer
71
views
When I upload the file using awt.Robot class, the file is uploaded properly but my laptop keys don't function properly after my test cases execution
When I upload the file using awt.Robot class, the file is uploaded properly but my laptop keys don't function properly after my test cases execution. I have to restart my laptop.
For example, after ...
0
votes
1
answer
103
views
java.awt.robot is not capturing screen in mac os x ventura
I am trying to capture screen in mac os ventura using java.awt.robort but it captures the desktop image every time but not the image of current application running. As shown in https://i.sstatic.net/...