A sleep of 0.9 is almost 20 times shorter than a sleep of 1

Get help with using AutoHotkey and its commands and hotkeys
Player
Posts: 3
Joined: 03 Feb 2018, 15:21

A sleep of 0.9 is almost 20 times shorter than a sleep of 1

09 Feb 2018, 09:59

The sleep timer is bugged once we go bellow 1, if I want to make the sleep slightly shorter from 1 with 0.9 it behaves like if I had used the value 0.05 because it's executed approximately 20 times faster.
guest3456
Posts: 2153
Joined: 09 Oct 2013, 10:31

Re: A sleep of 0.9 is almost 20 times shorter than a sleep of 1

09 Feb 2018, 10:07

see the help file for possible explanation and alternative:
https://autohotkey.com/docs/commands/Sleep.htm

User avatar
Nextron
Posts: 1095
Joined: 01 Oct 2013, 08:23
Location: Netherlands OS: Win7 x64 AHK: Unicode x32

Re: A sleep of 0.9 is almost 20 times shorter than a sleep of 1

09 Feb 2018, 11:10

It would also help if you explain how you determined this, since you're talking in microsecond scales now: How can we reproduce this.

Until then, moved from bug report to ask for help.
The more I know:
The more I know,
I know nothing.
SvenBent
Posts: 257
Joined: 09 Aug 2015, 01:34

Re: A sleep of 0.9 is almost 20 times shorter than a sleep of 1

09 Feb 2018, 11:57

IT seems like your understanding of the sleep timer and mine are highly different.
Did you actually read the documentation that Guest3456 linked before posting your "findings"?
User avatar
Nextron
Posts: 1095
Joined: 01 Oct 2013, 08:23
Location: Netherlands OS: Win7 x64 AHK: Unicode x32

Re: A sleep of 0.9 is almost 20 times shorter than a sleep of 1

09 Feb 2018, 13:43

SvenBent wrote:IT seems like your understanding of the sleep timer and mine are highly different.
Did you actually read the documentation that Guest3456 linked before posting your "findings"?

I don't get the point you're trying to make. Player hasn't replied since guest3456's post and I'm asking Player for additional info, I'm not presenting findings.
The more I know:
The more I know,
I know nothing.

Return to “Ask For Help”

Who is online

Users browsing this forum: lucakcond, Scr1pter and 36 guests