Is it possible to execute a command in a macro on a specific moment in time?

I would like to start some programs, do some command to set everything up, but I need certain command at certain time moments. (I know I can use windows task manager to execute on certain time frames but that is not what I ask). Can you during the run of a macro, tell the macro to execute the next command in line at (for example) 6 PM? (and then the rest of the command continues as normal)

Yes, you can do this! You can run a loop in a macro and then check the time. When it is 6PM you break the loop and start the main part of the macro.