Jump to content
Sign in to follow this  
roc

timed Send("{ENTER}")

Recommended Posts

roc

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
Goldie

Sorry misread your post lol...

Edited by Goldie

Share this post


Link to post
Share on other sites
Juvigy

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.