#cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.14.5 Author: Robert Adams Script Function: Reservation Maker Template AutoIt script. #ce ---------------------------------------------------------------------------- ;Have reservation website site up & ready. Double click script to start. (Until Send ("{f5}") command works, quickly put the cursor in the Length 0f Stay field.) #include Sleep (20000);allow 20 secs for browser focus _IEErrorHandlerRegister() Send ("{f5}") ;refresh the browser page. Sleep (20000);allow 20 secs for browser focus Const $i = 07:57 Const $j = 07:59:28 While _NowTime (4) <>$i ; This While Keeps signed in status. Sleep (2000) If _NowTime (4) <> $i Then ;7:57 For X = 1 to 20 Step 1 If (_NowTime (4) <> $i Then Sleep (58000) ;rest 1 minute, then check every minute to make sure it isn't 7:57. After 20 one minute checks for 7:57, the "loop" and "if" end. ; During this 20 min period, if on one of the passes it becomes 7:57, Loop will continue rapidly until X=20, then will kick it down to Sleep (500). ;Then we'll "focus" 1 more time, then WEnd will kick to When who will kick it down to the next while.If it isn't 7:57 while in the loop, and if then, after 20 ;loops, it will do a "focus" then go up to the "when" which will start another If and For = x series. EndIf X = X+1 Next EndIf Sleep (500) _IEAction (lengthOfStay, "focus") ;focuses on "lenthOfStay" element every 20 minutes.To keep signed in. X = 0 ;Sets X back to zero, ready for another "When" cycle and another "For X-Next loop". Sleep (500) WEnd ;cycles back up to top "While", which sends down to the next "While" if it is 7:57. If it isn't 7:57 then goes to Sleep (2000) then to the "If" and "For X". while _NowTime (5) <> $j ;7:59:28 Sleep (1000) ;'Check every second WEnd Sleep (10000) ;wait 10 second Send ("{TAB}") ;"lengthOfStay field just before "submit" field, "lengthOfStay" field and highlights it Sleep (10000) ;Send ENTER after 10 seconds Send ("{ENTER}") ;Submit checked Sleep 10000) ;Send ENTER after 10 seconds Send ("{ENTER}") ;"book these dates" clicked, sends me to the Payment Page. Exit