ludger Posted March 25, 2012 Share Posted March 25, 2012 How can i make bot that click every 15 minutes on this mouse position: (789, 1034) 2 seconds later on this position: (288, 353) and 3 seconds later on this postion: (203, 416) and make it a loop hole? Quote Link to comment Share on other sites More sharing options...
klasika2 Posted March 25, 2012 Share Posted March 25, 2012 clickmouse(789,1034,true) wait(2000) clickmouse(288, 353,true) wait(3000) clickmouse((203, 416,true) something like that Quote Link to comment Share on other sites More sharing options...
ludger Posted March 25, 2012 Author Share Posted March 25, 2012 (edited) Ok thank you very much for your fast reply klasika! So something like this: wait(900000) clickmouse(789,1034,true) wait(2000) clickmouse(288, 353,true) wait(3000) clickmouse((203, 416,true) but how do i make this in a loop hole, i mean how can i make this repeat every fifteen minutes? because now it will do it just once right? edit: i tried to do like this: program New; procedure mouse(var x,y:Integer); begin wait(900000) clickmouse(789,1034,true) wait(2000) clickmouse(288, 353,true) wait(3000) clickmouse((203, 416,true); repeat end but i got this error: line 9 closing parenthisis expected, sorry i am new to scar some more help would be greatly appreciated! Edited March 25, 2012 by ludger Quote Link to comment Share on other sites More sharing options...
sjesper Posted March 25, 2012 Share Posted March 25, 2012 Ok thank you very much for your fast reply klasika!So something like this: wait(900000) clickmouse(789,1034,true) wait(2000) clickmouse(288, 353,true) wait(3000) clickmouse((203, 416,true) but how do i make this in a loop hole, i mean how can i make this repeat every fifteen minutes? because now it will do it just once right? edit: i tried to do like this: program New; procedure mouse(var x,y:Integer); begin wait(900000) clickmouse(789,1034,true) wait(2000) clickmouse(288, 353,true) wait(3000) clickmouse((203, 416,true); repeat end but i got this error: line 9 closing parenthisis expected, sorry i am new to scar some more help would be greatly appreciated! You should do it like this: [sCAR]program New; begin repeat wait(900000) clickmouse(789,1034,true) wait(2000) clickmouse(288, 353,true) wait(3000) clickmouse(203, 416,true); until(false) end.[/sCAR] Quote Link to comment Share on other sites More sharing options...
ludger Posted March 25, 2012 Author Share Posted March 25, 2012 Thanks sjesper you're awesome! ---------- Post added at 08:53 PM ---------- Previous post was at 05:19 PM ---------- I need help with scar pressing right mouse button and pressing alt, because i have no idea how to let scar press right mouse button and if i do this: typekeys('alt'); then i will just type alt and not press the alt button. ---------- Post added at 09:07 PM ---------- Previous post was at 08:53 PM ---------- never mind found it already it is: KeyDown(VK_MENU); Quote Link to comment Share on other sites More sharing options...