@Russ
the cod.exe not work. even if you run it directly manually
BUT
resolved thanks to u ... In another forum league
I saw that you recommended the use of autoit to make the click for you
& ill do it an script for close teamviewer because it gives problems and also closes the battle net platform at the end¨
*AutoIt Version: 3.3.16.1
Author: frankerebus
Script Function:
Lanzar warzone y cerrar teamviewer
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
WinMinimizeAll()
_RunDos("start taskkill /F /IM TeamViewer.exe")
ShellExecute ( "C:\Program Files (x86)\Battle.net\Battle.net.exe" )
#include <Process.au3>
Sleep(7000) ; wait 7 seconds for show "jugar"
WinSetState("[ACTIVE]", "", @SW_MAXIMIZE)
#include <Process.au3>
WinActivate ( "Battle.net" )
$pos = WinGetPos("Battle.net")
#include <Process.au3>
$x = 155
$y = 1578
MouseClick("left", $pos[0] + $x, $pos[1] + $y) ; click the jugar button
Sleep(10000) ; wait 10 seconds
#include <Process.au3>
_RunDos("start taskkill /F /IM Battle.net.exe")
#include <Process.au3>*
this script works only to launch the latest game on the platform assuming you only use call of duty or any other it's ok
now can i tell alexa to run warzone
I HOPE IT IS USEFUL FOR SOMEONE ELSE