Suggestions?

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Suggestions?

Re: Suggestions?

Post by Delta Pythagorean » 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

Re: Suggestions?

Post by Helgef » 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:

Re: Suggestions?

Post by TheDewd » 22 Sep 2017, 15:44

Code: Select all

MsgBox, % Sleep(20)

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

Re: Suggestions?

Post by jeeswg » 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

Re: Suggestions?

Post by TheDewd » 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
        }
    }
}

Suggestions?

Post by Delta Pythagorean » 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!

Top