Re: [Sikuli-driver] [Question #691076]: .isRunning() no long working for SikulixIDE in 2.0.4

2020-06-08 Thread Chris Kosieracki
Question #691076 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691076

Status: Answered => Solved

Chris Kosieracki confirmed that the question is solved:
Thanks Raiman. That is a viable alternative that I have used before I
discovered isRunning.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #691076]: .isRunning() no long working for SikulixIDE in 2.0.4

2020-06-08 Thread RaiMan
Question #691076 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691076

RaiMan proposed the following answer:
You should use a user parameter after the -- when running from
commandline and check for its existence (parameter missing means running
in IDE).

... but I put the idea on the list, to have a chance to simply check,
whether a script is running from IDE or from commandline.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #691076]: .isRunning() no long working for SikulixIDE in 2.0.4

2020-06-02 Thread Chris Kosieracki
Question #691076 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691076

Chris Kosieracki posted a new comment:
Thanks for the clarification.

I reported it as a bug instead of a question because this did work in
1.1.4, and I saw it as a loss of functionality. I have used it
extensively to allow my scripts to behave differently when running from
the IDE than when  running as part of a bash script. It's not a huge
deal, but I'll need to find another way to provide the functionality and
then modify a few dozen scripts.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #691076]: .isRunning() no long working for SikulixIDE in 2.0.4

2020-06-01 Thread RaiMan
Question #691076 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691076

Status: Open => Answered

RaiMan proposed the following answer:
Since the SikuliX IDE is a jar-file to be run with Java, currently you
cannot use the App features, to act on SikuliX IDE.

... and I do not think, that this is needed.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #691076]: .isRunning() no long working for SikulixIDE in 2.0.4

2020-06-01 Thread RaiMan
Question #691076 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691076

RaiMan posted a new comment:
should first be a question

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #691076]: .isRunning() no long working for SikulixIDE in 2.0.4

2020-06-01 Thread RaiMan
Question #691076 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691076

Removed link to bug: #1881377
https://bugs.launchpad.net/bugs/1881377
".isRunning() no long working for SikulixIDE in 2.0.4"

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #691076]: .isRunning() no long working for SikulixIDE in 2.0.4

2020-06-01 Thread Chris Kosieracki
New question #691076 on Sikuli:
https://answers.launchpad.net/sikuli/+question/691076

2.0.4-2020-03-14_08:01/Mac10.14.5/Java8(64)1.8.0_251-b08

I just upgraded from 1.1.4 and found that the test to see if the IDE is running 
no longer returns the correct result.
I ran this script in the IDE, and also from a bash file both with the IDE 
running and not running. The results are always the same.

apps = ['Sikulix','SikulixIDE']
for app in apps:
sIDE = App(app)
ideRunning = sIDE.isRunning()
if ideRunning:
print(app + ' is running')
else:
print(app + ' is not running')

OUTPUT:
Sikulix is running
SikulixIDE is not running

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp