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: 5
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: 2430
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: 1273
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.
SvenBent
Posts: 260
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: 1273
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

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.
SvenBent
Posts: 260
Joined: 09 Aug 2015, 01:34

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

27 Mar 2018, 06:28

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.
oh my bad
My post was meant for OP no you.
I should have clarified to avoid this miscommunication.

Return to “Ask For Help”

Who is online

Users browsing this forum: JoeWinograd, Mipha, tmplinshi, Xtra, Zp0f and 84 guests