Hi, while running a script, i sometimes need a short delay. I tried it with sleep, but received a strange behavior depending on the hardware. Just a simple script like $begin = TimerInit() Sleep(5000) MsgBox(0, "Timer", "Duration = "& TimerDiff($begin)) gives a duration of 5004 on a Pentium with 4CPU, 3GHz, on an Intel Core2 Duo, E8400 3GHz differs each time i run the script, but allways much lower, between 200 and 500! Even compiling the script on the second PC didn't change