Skip to content

[BUG] making threadobject threads persistent doesn't work #29

@CapnOdin

Description

@CapnOdin

This won't be persistent if run as a thread

#Persistent
SetTimer((*) => ToolTip("Persistent Timer Running", , , 3), 100)

adding an infinite loop makes it stay running

#Persistent
SetTimer((*) => ToolTip("Busy Timer Running", , , 3), 100)

loop {
	Sleep(100)
}

I tested it using the script bellow

#Persistent
timerThread := ThreadObj("#Include persistent timer.ahkh2")
loopThread := ThreadObj("#Include busy timer.ahkh2")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions