Viggo Posted September 18, 2021 Share Posted September 18, 2021 Hello Can someone tell me where do i put the repeat loop on this script ? program New; begin vkeydown(VK_CONTROL); wait(5000); vkeyup(VK_CONTROL); vkeydown(102); wait(500); vkeyup(102); wait(500); vkeydown(100); wait(500); vkeyup(100); wait(500) vkeydown(102); wait(100); vkeyup(102); end. Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted September 20, 2021 Share Posted September 20, 2021 On 9/18/2021 at 3:36 AM, Viggo said: Hello Can someone tell me where do i put the repeat loop on this script ? program New; begin vkeydown(VK_CONTROL); wait(5000); vkeyup(VK_CONTROL); vkeydown(102); wait(500); vkeyup(102); wait(500); vkeydown(100); wait(500); vkeyup(100); wait(500) vkeydown(102); wait(100); vkeyup(102); end. Well it all depends what actions you want to repeat Did you want the entire thing to repeat forever? If so, you can wrap the entire thing in a repeat / until. So it'll be after the "begin" and before the "end." Quote Link to comment Share on other sites More sharing options...