Code: Select all
settimer, ontop, 500
ontop:
WinActivate ahk_exe Diablo III64.exe
The timer is not working the script run once only
Code: Select all
settimer, ontop, 500
ontop:
WinActivate ahk_exe Diablo III64.exe
I don't know your exact scenario - if it's a fullscreen window, perhaps you only need Winset with the subcommand AlwaysOnTop... Winset, AlwaysOnTop, On, ahk_exe Diablo III64.exe.https://www.autohotkey.com/docs/commands/SetTimer.htm#Remarks wrote:To keep a script running -- such as one that contains only timers -- use #Persistent.
Users browsing this forum: No registered users and 288 guests