> What is key event to minimize current windows application ?
I don't know of any "standard" Key-sequence under windows.
Some games use the <Escape> key to minimize themselves, and
on unixoid desktops it's usually Alt+F9.
Perhaps vista will come up with some key-shortcut, but that's
pure unfounded speculation.
Unless you really, really need it, better not worry.
It should be the Window-manager's business to care
about window-management.
pcouas - 27 Nov 2006 13:11 GMT
Currently i use this source, but it's in french only
package activex01;
import java.awt.*;
import java.awt.event.*;
import java.io.IOException;
public class robot01{
//Create an array of keycode data
static int keyInput[] = {
KeyEvent.VK_ALT,
KeyEvent.VK_SPACE,
KeyEvent.VK_U, // ALT SPace ->u IN FRENCH
};
public static void main(String[] args)
throws AWTException,IOException{
Runtime.getRuntime().exec("notepad");
Robot robot = new Robot();
robot.keyPress(KeyEvent.VK_SHIFT);
for (int i = 0;
i < keyInput.length; i++){
robot.keyPress(keyInput[i]);
robot.delay(500);
}
}
}