'
' SetForegroundWindow
'
' Author: Joe Strazzere
'
msgframe("set the desired window to the top",1,0,0,,255)
pause 3 seconds
b = External("user32","GetForegroundWindow")
msgframe("now set another window to the top",1,0,0,,255)
pause 3 seconds
External("user32","SetForegroundWindow",b)