page Posted May 25, 2007 Share Posted May 25, 2007 hello evry one im new one here i want to improve my level in programation ^^ want to creat one programe who preese f1 keybord evry 5 min and f2 evry 30 min how can i do that plzz and thx so much =) Link to comment Share on other sites More sharing options...
page Posted May 25, 2007 Author Share Posted May 25, 2007 i did this but its not woring $i = 0 Do $i = $i + 30 @min {F1} Until $i = $i + 1 who can help me plzzzzz i need it so much Link to comment Share on other sites More sharing options...
Generator Posted May 25, 2007 Share Posted May 25, 2007 HotkeySet("{ESC}","Quit") Global $30mins=30*60*1000 Global $5mins=5*60*1000 AdibeEnable("F1",$5mins) While 1 Sleep($30mins) Send("{F2}") WEnd Func F1() Send("{F1}") EndFunc Func Quit() Exit EndFunc Link to comment Share on other sites More sharing options...
qwer85 Posted May 25, 2007 Share Posted May 25, 2007 While 1 Send("{F1}") Sleep(1000*60*5) Send("{F2}") Sleep(1000*60*30) WEnd Link to comment Share on other sites More sharing options...
page Posted May 25, 2007 Author Share Posted May 25, 2007 $i = 0 Do $i = $i + 1 MouseClick("left") Until $i = $i + 1 if i want stope mouse click whith right mous click how can i add this in my programe and thx generator , qwer85 ; ) Link to comment Share on other sites More sharing options...
page Posted May 25, 2007 Author Share Posted May 25, 2007 but the source programe who you gived to me dont repeat again want my programe repeat and thx so much Link to comment Share on other sites More sharing options...
qwer85 Posted May 25, 2007 Share Posted May 25, 2007 but the source programe who you gived to me dont repeat againwant my programe repeat and thx so muchMy code works for me... Try to make a smaller delay. Link to comment Share on other sites More sharing options...
page Posted May 25, 2007 Author Share Posted May 25, 2007 thx qwer85 its working but if i want the programe dont stop working infinity Link to comment Share on other sites More sharing options...
Generator Posted May 25, 2007 Share Posted May 25, 2007 While 1 Send("{F1}") Sleep(1000*60*5) Send("{F2}") Sleep(1000*60*30) WEndoÝ÷ Ûú®¢×{§µçm¢Þ²Áuz÷«Ë¢Æ§t]½êòßI¢È§Ê«q«"VÞ¢yr¦·¬±çhǺ¸§~f{,ºh±érÜ"VÞ¦·¬±ú+êئzÀ·¦åyÚ²Ø^rZ+=¨!ü¨»§µ©ÞÆ+_¢¼¨ººk¢ ÚKjëh×6 Hotkeyset("{ESC}","Quit");Set esc key to quit Func Quit() Exit EndFunc Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now