October 19, 20169 yr i was just wondering what the code would be for skipping a dialogue with the space bar instead of having to click on "click here to continue"
October 19, 20169 yr Author but would getDialogues().clickContinue(); use the mouse curser to do this, i already have this implemented and i wanted to make it faster by using space bar
October 19, 20169 yr but would getDialogues().clickContinue(); use the mouse curser to do this, i already have this implemented and i wanted to make it faster by using space bar I am pretty sure it uses space to do it.
October 19, 20169 yr but would getDialogues().clickContinue(); use the mouse curser to do this, i already have this implemented and i wanted to make it faster by using space bar Randomly uses spacebar or mouse clicks.
October 19, 20169 yr i was just wondering what the code would be for skipping a dialogue with the space bar instead of having to click on "click here to continue" // Using Keyboard class if (getDialogues().isPendingContinuation()) { getKeyboard().typeKey((char) VK_SPACE); } // Using ClientKeyEventHandler class (presses the key instantly) if (getDialogues().isPendingContinuation()) { getBot().getKeyEventHandler().generateBotKeyEvent(KEY_TYPED, System.currentTimeMillis(), 0, VK_UNDEFINED, (char) VK_SPACE); } Edited October 19, 20169 yr by Explv
Create an account or sign in to comment