sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #55843
[Question #692783]: How to pass command with argument to App.(open) in 2.0.4
New question #692783 on Sikuli:
https://answers.launchpad.net/sikuli/+question/692783
Following command in SikuliX 1.1.2 launches a browser and opens the URL, but does not work in SikuliX 2.0.4. it just launches a file explorer window.
AW_library.py specifies:
AW_OpenApp = "D:\\AW_"+AW_Browser+"_Launch.bat "+AW_URL
where AW_Chrome_Launch.bat contains:
@echo off
call "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" %1 --reset-variation-state --window-size=1600,1024 --window-position=0,0
In test.sikuli
from AW_library import *
App.open(AW_OpenApp)
Running test.sikili in 1.1.2 launches expected chrome browser with AW_URL, but in 2.0.4 launches file explorer.
debug output from command line does not show any error.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.