← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #389068]: Running script from command line with parameter

 

Question #389068 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/389068

RaiMan proposed the following answer:
ok, then the problem might be, that on Windows the app name not really is the application name, but the title of a window.
So you might try with a window title of your installer, to check wether it is open and to focus and just use App.open() to start your installer in case.

Something like that:

myApp = App("some valid window title of the installer")

if not myApp.window():
    App.open("absetup.exe")
    while not myApp.window(): wait(1)

myApp.focus()


What version of Sikuli(X) are you using?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.