plz give me example script for keyboard macro which can
if the_key pressed then loop until the_other_key pressed
in loop
send key_0 to active window
sleep 1sec
send key_1 to active window
end of loop
I think it's easy for those who write scripts(but not for me)...
request:example kymacro script
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: request:example kymacro script
Code: Select all
setStartKey(key.VK_WHATEVER1);
setStopKey(key.VK_WHATEVER2);
function main()
while(true)
keyboardPress(key.VK_0);
yrest(1000);
keyboardPress(key.VK_1);
yrest(1000);
end
end
startMacro(main);
-
- Posts: 2
- Joined: Mon Jun 14, 2010 6:22 am
Re: request:example kymacro script
Thanks!!
Who is online
Users browsing this forum: No registered users and 0 guests