#Persistent Topic is solved
#Persistent
What is the use case for restoring the #Persistent directive?
Re: #Persistent Topic is solved
#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.
fincs
Windows 11 Pro (Version 22H2) | AMD Ryzen 7 3700X with 32 GB of RAM | AutoHotkey v2.0.0 + v1.1.36.02
Get SciTE4AutoHotkey v3.1.0 -[My project list]
Windows 11 Pro (Version 22H2) | AMD Ryzen 7 3700X with 32 GB of RAM | AutoHotkey v2.0.0 + v1.1.36.02
Get SciTE4AutoHotkey v3.1.0 -
Return to “AutoHotkey Development”
Who is online
Users browsing this forum: No registered users and 21 guests