Jump to content

if clock time is __ then


innggo
 Share

Recommended Posts

Hello,

I'm new to AutoIt and I am excited by the possibilities of this great tool ! I've searched the help and the forum (up to the 8th result page) and I have not found an answer. I would like to know how to code this rule : if clock time is 1500 then ______

I have not found a way to access my windows clock time to automate some processes. I could use windows planner to run the exe file but if there is a way to code it I would be more pleased.

Thanks for your help !

Link to comment
Share on other sites

Maybe it would be helpful to say a bit more about what I am trying to do as I am stuck.

I would like to automate certain tasks on a webpage at a certain time (let's say from 1 to 2 pm). Here I would like to open the brower and the page first.

But how can I leave the program running till it has performed its tasks ?

While _NowTime() = 13/35/00
    RunWait( "C:\Program Files\Opera\opera.exe")
        Send(" ^n http://www.autoitscript.com/forum/index.php {ENTER}" )
WEnd

Thanks

Link to comment
Share on other sites

Well maybe I should use the Windows Task Scheduler after all... May be simpler.

Maybe it would be helpful to say a bit more about what I am trying to do as I am stuck.

I would like to automate certain tasks on a webpage at a certain time (let's say from 1 to 2 pm). Here I would like to open the brower and the page first.

But how can I leave the program running till it has performed its tasks ?

While _NowTime() = 13/35/00
    RunWait( "C:\Program Files\Opera\opera.exe")
        Send(" ^n http://www.autoitscript.com/forum/index.php {ENTER}" )
WEnd

Thanks

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...