Dapwnerz Posted October 25, 2020 Share Posted October 25, 2020 Hello, i have this here that is using my computers time to do something on a web browser, but that page has its own time and its not the same with my pcs so any help i can make the script use the webpages time? thanks While 1 If @HOUR = 23 And @MIN = 35 And @SEC = 55 And @MSEC = 000 Then MouseClick($MOUSE_CLICK_LEFT, 1253, 454, 1,0) Sleep(100) MouseClick($MOUSE_CLICK_LEFT, 1253, 559, 1,0) EndIf WEnd Link to comment Share on other sites More sharing options...
Somerset Posted October 25, 2020 Share Posted October 25, 2020 The time you pc is = @hour If the web page time is faster than you add if the web page is slower then you subtract. Link to comment Share on other sites More sharing options...
Danp2 Posted October 25, 2020 Share Posted October 25, 2020 Sure.... just read the time from the website and use that instead of your PC's time. P.S. My response is intentionally vague, which is inline with your post. If you want a true solution, you will need to provide more details on your situation (website, browser, etc) Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Somerset Posted October 25, 2020 Share Posted October 25, 2020 (edited) The op does have at least one game related locked thread. I agree the topic is fishy cause of the vagueness. Edited October 25, 2020 by Somerset Musashi 1 Link to comment Share on other sites More sharing options...
Nine Posted October 25, 2020 Share Posted October 25, 2020 If you want to start a program at a specific time, just use Windows Task Scheduler for it. That way you won't overload your CPU for nothing and you will be sure that it will launch (not like your code where you may be missing the exact msec) Musashi 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy 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