Sign in to follow this  
Followers 0
roc

timed Send("{ENTER}")

3 posts in this topic

I would like the Send("{ENTER}") to be at a specific time. How could I make this work. This is what I have tryed.

Thank you

Case Send
    ; Wait until required time
    $sReqTime = "23:59:59" ; 1 secs before midnight
    Do
        ; Wait 1 sec
        Sleep(1000)
    Until @HOUR & ":" & @MIN & ":" & @SEC = $sReqTime
    ; send
    Send("{ENTER}")

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Sorry misread your post lol...

Edited by Goldie

Share this post


Link to post
Share on other sites

This should get you started:

#include <Date.au3>
MsgBox(0,'',"The time is:" & _NowTime())

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0