Discuss the future of the AutoHotkey language
2 posts • Page 1 of 1
What is the use case for restoring the #Persistent directive?
#Persistent wrote:Some cases where this directive might be needed (if there are no running threads or hotkeys, timers, etc.) include:
- Scripts which use RegisterCallback and DllCall to respond to events, since those functions don't make the script persistent.
- Scripts which create or retrieve COM objects and use ComObjConnect to respond to the object's events.
Who is online
Users browsing this forum: No registered users and 8 guests