How could I run this script in a separate window without affecting other applications. Minimize this window and continue working with Chrome, word, excel without being affected by this script:
HotKeySet("{[}", "_Exit10")
Run("C:\Program Files\emulator\emulator.exe")
sleep(1500)
Send("{ENTER}")
Sleep(1500)
Local $hWnd = WinWait("[CLASS:gdkWindowToplevel]", "", 10)
Local $xyz
Send("APP01")
Sleep(1500)
Send("{ENTER}")
Sleep(1500)
While 1
$xyz = 0
For $i = 0 To 2
$xyz = $xyz + 1
Sleep(1500)
Send($xyz)
Sleep(1500)
Send("{ENTER}")
Sleep(1500)
Send("{F12}")
Next
Sleep(1500)
WEnd
Func _Exit10()
Exit 0
EndFunc