September 13, 201510 yr How do I make the script change tab by pressing the function keys (e.g. f6 to switch to magic tab)? When I use getKeyboard().typeKey((char) KeyEvent.VK_F6); It just types "u", if anyone knows what's wrong I would be grateful for some help Edit: nvm I fixed it guy Edited September 13, 201510 yr by Chicken Wing
September 13, 201510 yr Robot r = new Robot();r.keyPress(KeyEvent.VK_F6);r.keyRelease(KeyEvent.VK_F6); Would this work? Edited September 13, 201510 yr by Prozen
September 13, 201510 yr Author Robot r = new Robot(); r.keyPress(KeyEvent.VK_F6); r.keyRelease(KeyEvent.VK_F6); Would this work? Don't think it does
September 13, 201510 yr Author http://osbot.org/forum/topic/80524-hotkeys/ You beat me to it ;P Literally realised I was using the wrong method as you posted this Thanks for the help
Create an account or sign in to comment