Opened 14 years ago

Closed 14 years ago

#1316 closed Feature Request (Rejected)

SleepUntilTime($hour, $min, $sec) and RunOnTime($hour, $min, $sec, "UserFunction")

Reported by: andref Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: SleepUntilTime RunOnTime _TimeToTicks Sleep Cc:


;Idea of first:
Func SleepUntilTime($hour, $min, $sec)

$tics=_TimeToTicks($hour, $min, $sec)-_TimeToTicks()


;Idea of second
Func RunOnTime($hour, $min, $sec, "UserFunction")
;create new thread
;In thread run: SleepUntilTime($hour, $min, $sec)
;In thread: Run(..., "UserFunction")

;prabobaly It can be made with Timer too


Attachments (0)

Change History (2)

comment:1 Changed 14 years ago by TicketCleanup

  • Version deleted

Automatic ticket cleanup.

comment:2 Changed 14 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

The first one is too trivial and the second one will not work. It seems you didn't notice AutoIt isn't multi-threaded.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.