Suggestions?

Talk about anything
User avatar
Delta Pythagorean
Posts: 627
Joined: 13 Feb 2017, 13:44
Location: Somewhere in the US
Contact:

Suggestions?

20 Sep 2017, 21:02

Ok, well I guess I'd make this topic for people who are searching for what to do or even what to make.
Maybe come here when you have writer's block? Who knows?
Well. I'll give one suggestion...
Make a script that Sleeps, without using sleep or SetTimer.
Good luck!

[AHK]......: v2.0.12 | 64-bit
[OS].......: Windows 11 | 23H2 (OS Build: 22621.3296)
[GITHUB]...: github.com/DelPyth
[PAYPAL]...: paypal.me/DelPyth
[DISCORD]..: tophatcat

User avatar
TheDewd
Posts: 1510
Joined: 19 Dec 2013, 11:16
Location: USA

Re: Suggestions?

22 Sep 2017, 14:04

Very crude, but I was short on time ;)

ToolTip updates every 10 seconds.

Code: Select all

#SingleInstance, Force

Time1 := A_Now

Loop {
    ToolTip, % A_Index

    Time1 += 10, Seconds

    Loop {
        Time2 -= Time1, Seconds

        If (Time2 = 0) {
            Break
        }
    }
}
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Suggestions?

22 Sep 2017, 14:36

Spoiler
Also interesting:
[SMF] Short My Function - Seconds to string - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=29505
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
User avatar
TheDewd
Posts: 1510
Joined: 19 Dec 2013, 11:16
Location: USA

Re: Suggestions?

22 Sep 2017, 15:44

Code: Select all

MsgBox, % Sleep(20)

Sleep(Length) {
    return StrReplace(Format("{:0" Length "}", ""), 0, "Z")"!"
}
Image
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: Suggestions?

22 Sep 2017, 17:55

Delta Pythagorean wrote:
Make a script that Sleeps, without using sleep or SetTimer.
Good luck!
#persistent. Or,

Code: Select all

sleepy(zzz:=1000){
	local el:=errorlevel
	winWait ahk_id 37,, zzz/1000
	errorlevel:=el
}
Reminds me of this :think: (currebtly unsolved: Puzzle 5 :terms: )

Cheers. :wave:
User avatar
Delta Pythagorean
Posts: 627
Joined: 13 Feb 2017, 13:44
Location: Somewhere in the US
Contact:

Re: Suggestions?

22 Sep 2017, 22:49

TheDewd wrote:

Code: Select all

MsgBox, % Sleep(20)

Sleep(Length) {
    return StrReplace(Format("{:0" Length "}", ""), 0, "Z")"!"
}
Haha very funny.
Image

Return to “Off-topic Discussion”

Who is online

Users browsing this forum: No registered users and 64 guests