Re: [Sikuli-driver] [Question #799923]: 2.0.6 import does not work on macOS14 sonoma

2024-04-21 Thread RaiMan
Question #799923 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/799923

Status: Expired => Answered

RaiMan changed the question status:
to be checked

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

___
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 #709543]: Does this work for desktop applications and do data driven tests from excel

2024-03-30 Thread RaiMan
Question #709543 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709543

Status: Expired => Answered

RaiMan changed the question status:
just try.

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

___
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 #709569]: How do I run sikuli from github actions remotely

2024-03-30 Thread RaiMan
Question #709569 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709569

Status: Expired => Answered

RaiMan changed the question status:
should stay visible, since interesting question.

RaiMan does not have any experience, that might help.

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

___
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 #709291]: Documentation of "Use()" command

2024-03-05 Thread RaiMan
Question #709291 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709291

Status: Open => Answered

RaiMan proposed the following answer:
Sorry for the delay.

No such feature, but this might help to make your own function:

showMonitors()
s0 = use()
print SCREEN.getID()
s1 = use(Screen(1))
print SCREEN.getID()

SCREEN always is the current default Screen object and getID() returns
ist current monitor ID.

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

___
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 #709031]: Windows XP

2024-02-23 Thread RaiMan
Question #709031 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709031

Status: Answered => Solved

RaiMan changed the question status:
no feedback

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

___
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 #709217]: Automated testing

2024-02-23 Thread RaiMan
Question #709217 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709217

Status: Expired => Answered

RaiMan changed the question status:
currently not possible with Sikulix

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

___
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 #709354]: [2.0.5] Linux: Tesseract Tess4J Dont Work

2024-02-23 Thread RaiMan
Question #709354 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709354

Summary changed to:
[2.0.5] Linux: Tesseract Tess4J Dont Work

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

___
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 #709354]: Tesseract Tess4J Dont Work

2024-02-23 Thread RaiMan
Question #709354 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709354

Status: Open => Answered

RaiMan proposed the following answer:
how to make Tesseract ready for Sikulix:
https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux-‐-Support-libraries-for-Tess4J-Tesseract-4-OCR

No need for Tess4J - is in the package already.

In a main script 
from sikuli import *
is not needed, only in subs.

s = Image.create("picture.png")
print(s.text())
is corrrect and works for me (tested on Windows)

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

___
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 #709214]: [2.0.5] script doesn't close after VNC (Java) --- no solution

2024-02-23 Thread RaiMan
Question #709214 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709214

Summary changed to:
[2.0.5] script doesn't close after VNC (Java) --- no solution

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

___
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 #709214]: [2.0.5] script doesn't close after VNC (Java) --- no solution

2024-02-23 Thread RaiMan
Question #709214 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709214

RaiMan proposed the following answer:
I am sorry, but I did not get VNC to work at all in my environment
(Windows, macOS).

Since VNC is currently switched off in 2.0.6, I put on the list vor 2024
to make it ready again.

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

___
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 #709159]: doResourceListJar NullPointerException

2024-02-18 Thread RaiMan
Question #709159 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709159

Status: Expired => Answered

RaiMan changed the question status:
To keep it open

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

___
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 #709262]: Sikulix interface with extra functions

2024-02-12 Thread RaiMan
Question #709262 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709262

Status: Open => Answered

RaiMan proposed the following answer:
Sorry, no longer available.

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

___
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 #709214]: [2.0.5] script doesn't close after VNC (Java)

2024-02-12 Thread RaiMan
Question #709214 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709214

Summary changed to:
[2.0.5] script doesn't close after VNC (Java)

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

___
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 #709214]: script doesn't close after VNC (Java)

2024-02-12 Thread RaiMan
Question #709214 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709214

Status: Open => Answered

RaiMan proposed the following answer:
ok, thanks for the additional info.

I have to check.
may take some days. sorry.

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

___
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 #709214]: script doesn't close after VNC (Java)

2024-02-06 Thread RaiMan
Question #709214 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709214

Status: Open => Needs information

RaiMan requested more information:
Do you close the VNC session before ending the script?

--- At the moment i use Intelij 
I do not understand what that means.

Can you give an example flow with the substantial API calls?

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

___
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 #709144]: sikulix4python using VNC

2024-01-31 Thread RaiMan
Question #709144 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709144

Status: Open => Answered

RaiMan proposed the following answer:
no idea, no experience. sorry

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

___
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 #709159]: doResourceListJar NullPointerException

2024-01-31 Thread RaiMan
Question #709159 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709159

Status: Open => Needs information

RaiMan requested more information:
What exactly are you doing? Run a script? Use the IDE? System? Java?
Paste example code.

Take care, that path and filenames contain only english characters,
numbers, hyphen and/or underscore.

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

___
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 #709031]: Windows XP

2024-01-20 Thread RaiMan
Question #709031 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709031

RaiMan proposed the following answer:
You have to install a Java 8 then and use it to run the SikuliX iDE from
the commandline.

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

___
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] [Bug 2049575] Re: [2.0.5] type(): Entering text in a non-English language does not work --- not possible

2024-01-19 Thread RaiMan
Sorry, I have to correct:

workaround: use paste(u"some text with nonASCII like äüö")

if you want to type text at the current input field on the screen.

u"some text" signals that the string is UTF-8 encoded.

** Description changed:

+ workaround: use paste(u"some text äöü") 
+ if you want to type nonASCII-text at the current input field on the screen.
+ ---
+ 
  type("Cyrillic text")

** Summary changed:

- [2.0.5] type(): Entering text in a non-English language does not work --- not 
possible
+ [2.0.5] type(): Entering text in a non-English language does not work --- not 
possible --- workaround

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to SikuliX.
https://bugs.launchpad.net/bugs/2049575

Title:
  [2.0.5] type(): Entering text in a non-English language does not work
  --- not possible --- workaround

Status in SikuliX:
  Invalid

Bug description:
  workaround: use paste(u"some text äöü") 
  if you want to type nonASCII-text at the current input field on the screen.
  ---

  type("Cyrillic text")

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/2049575/+subscriptions


___
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 #708771]: [2.0.5] Text click issue --- to be checked

2024-01-19 Thread RaiMan
Question #708771 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708771

Summary changed to:
[2.0.5] Text click issue --- to be checked

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

___
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 #708771]: Text click issue

2024-01-19 Thread RaiMan
Question #708771 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708771

Status: Expired => Answered

RaiMan changed the question status:
have to check.

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

___
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 #709031]: Windows XP

2024-01-19 Thread RaiMan
Question #709031 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709031

RaiMan proposed the following answer:
... but be aware: I do not support WinXP, Java 8 and the versions up to
2.0.4 any more. Sorry.

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

___
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 #709040]: Cntrl+S

2024-01-19 Thread RaiMan
Question #709040 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709040

Status: Open => Answered

RaiMan proposed the following answer:
To use type(), the target window must have focus, which is not the case
at script start.

You might use click() to activate the target window.
You seem to have tried with hover(), which does not do the job (no action, only 
mouse move)

To handle apps, you might use the app features: 
https://sikulix-2014.readthedocs.io/en/latest/appclass.html#the-application-class-app

Generally it is worth to read across the docs, to get a feeling about
the features available.

One more thing: type("S", Key.CTRL) should be type("s", Key.CTRL): for those 
combinations use lowercase, since uppercase adds a Key.SHIFT, which might not 
be correct.
Look: https://sikulix-2014.readthedocs.io/en/latest/keys.html#key-constants

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

___
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 #709031]: Windows XP

2024-01-19 Thread RaiMan
Question #709031 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709031

Status: Open => Answered

RaiMan proposed the following answer:
all versions up to 2.0.5 are available at:
https://launchpad.net/sikuli/+download

on WinXP you have to try with a suitable Java 8.

You might try 2.0.5, but might not work.
Then step down the versions and try until success.

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

___
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] [Bug 2049575] Re: Entering text in a non-English language does not work

2024-01-17 Thread RaiMan
type() until 2.0.5 only supports input that can be produced on a US-
keyboard-layout.

workaround: use paste() if you want to type text at the current input
field on the screen.

** Changed in: sikuli
   Status: New => Invalid

** Changed in: sikuli
 Assignee: (unassigned) => RaiMan (raimund-hocke)

** Summary changed:

- Entering text in a non-English language does not work
+ [2.0.5] type(): Entering text in a non-English language does not work --- not 
possible

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to SikuliX.
https://bugs.launchpad.net/bugs/2049575

Title:
  [2.0.5] type(): Entering text in a non-English language does not work
  --- not possible

Status in SikuliX:
  Invalid

Bug description:
  type("Cyrillic text")

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/2049575/+subscriptions


___
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 #708961]: Katalon: Sikulix Integration: Problems with JNA --- SikuliX principally works

2024-01-16 Thread RaiMan
Question #708961 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708961

Summary changed to:
Katalon: Sikulix Integration: Problems with JNA --- SikuliX principally works

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

___
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 #708961]: JNA and Sikulix Compatibility Error

2024-01-16 Thread RaiMan
Question #708961 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708961

RaiMan proposed the following answer:
Sorry, but I already removed Katalon from my system. For my possible use
cases too complicated (IntelliJ IDEA is enough for me).

If I remember well:
- started a new project (for Windows Desktop?)
- added a new testcase
- in the project settings added the SikuliX jar in the library section
- added my script statements in the test case script tab

... and run the test case

... sometimes having the above mentioned problems and workarounds.

again: I did not extra add the jna-jar in the settings lib section!

hope it helps.

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

___
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 #708961]: JNA and Sikulix Compatibility Error

2024-01-15 Thread RaiMan
Question #708961 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708961

RaiMan proposed the following answer:
I got both jars to run: API-2.0.5 and IDE-2.0.6

But on the way I had some problems with Catalan Studio:
- could not remove the actual SikuliX lib - had to do it manually outside
- after some errors a Run did not do anything any more - just started and 
terminated
- after some error situations, the script-tab in the editor did not show anymore

I switched off the "auto restore" on exit.
After having done some changes in the project setup and if the RUN then simply 
terminated without doing anything, I exited Catalan and started again.
After opening the test case again, I at least succeeded in running some SikuliX 
features.

my script additions:
--
import org.sikuli.script.Screen as Screen
import org.sikuli.script.Match as Match
import org.sikuli.script.ImagePath as ImagePath

//System.getProperty('user.dir'); 
//ImagePath.add  does not work: intervening spaces are internally converted to 
%20 (is surely a SX bug)
String udir = "C:/Users/rmhde/_SXRun"; 
String images = "/katalon"
System.out.println(udir)

ImagePath.add(udir + images)
//ImagePath.dump("") //only works in 2.0.6

Screen s = new Screen()
s.hover() // moves to screen center

Match m = s.exists("img");
System.out.println(m);

s.click(m.offset(22, 0)) 
// moves to the 

System.out.println(s)
---

Conclusion: principally works with 2.0.5 and 2.0.6

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

___
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 #708961]: JNA and Sikulix Compatibility Error

2024-01-15 Thread RaiMan
Question #708961 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708961

RaiMan proposed the following answer:
That's interesting.

When I had a short look into Catalan yesterday, I did not realize, that they 
mention SikuliX.
So I decide it is worth to have a deeper look.

If we have a chance to get it to work, then with 2.0.5
But you might as well give the 2.0.6-prefinal a chance. (see below)

I guess your problem is a class-path problem: There seem to be different JNA 
versions on the classpath.
So at least, you should test with no extra import of JNA.

Test with 2.0.6 (details:   https://github.com/RaiMan/SikuliX1):
Use this jar (it is the IDE, but contains the API as well) as the one to be 
imported:
https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots=com.sikulix=sikulixidewin=2.0.6-SNAPSHOT=jar

reduce the testcase to the minimum script, that produces the error and
send me script and additional info to my mail sikulix---at---outlook---
dot--com. A stack trace at the crash point would be helpful and a full
list of the classpath.

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

___
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 #708961]: JNA and Sikulix Compatibility Error

2024-01-12 Thread RaiMan
Question #708961 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708961

Status: Open => Answered

RaiMan proposed the following answer:
Since I do not know the Katalon eco-system, I do not know, in which way
you use SikuliX 2.0.5.

- if it is sikulixapi from Maven Central, then it's POM references JNA
5.6.0

- if it is a complete jar including all dependencies (e.g. sikulixide),
then it already contains JNA

If you tell me more about what you are doing at the place where you get
the error, I could try to help you further.

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

___
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 #708914]: select

2024-01-08 Thread RaiMan
Question #708914 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708914

RaiMan posted a new comment:
BTW:

login = ("outlook", "facebook", "workplace", "page3", "page4")
def select(msg="", title="Sikuli Selection", options=(), default=None):
a = select(msg = "where do you like to log in?", options = login)

your def overwrites the SikuliX select function and simply does nothing
but calling itself.

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

___
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 #708914]: select

2024-01-08 Thread RaiMan
Question #708914 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708914

RaiMan proposed the following answer:
Works on Win11 with 2.0.5 and Java 11 and 19

login = ("outlook", "facebook", "workplace", "page3", "page4")
a = select(msg = "where do you like to log in?", options = login)
print a

shows the select popup and prints the selected option or None if
cancelled.

I am running the SikuliX IDE from the commandline using

"C:\Program Files\EclipseJDK\jdk19\bin\java" -jar 

So something seems to be wrong wit your setup.

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

___
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 #708914]: select

2024-01-07 Thread RaiMan
Question #708914 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708914

Status: Open => Answered

RaiMan proposed the following answer:
Ok. Will check tomorrow. (Germany ;-)

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

___
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 #708755]: using multiple images in click, wait and find with OR

2024-01-06 Thread RaiMan
Question #708755 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708755

Status: Expired => Answered

RaiMan changed the question status:
To be checked

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

___
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 #708914]: select

2024-01-06 Thread RaiMan
Question #708914 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708914

Status: Open => Answered

RaiMan proposed the following answer:
The select does not have positional parameters:

def select(msg="", title="Sikuli Selection", options=(), default=None)

so you have to write:

a = select(msg = "where do you like to log in?", options = login)

the title might also be a helpful parameter.

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

___
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 #708910]: Drop down menu

2024-01-05 Thread RaiMan
Question #708910 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708910

Status: Open => Invalid

RaiMan changed the question status:
No SikuliX matter

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

___
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 #708813]: Spam

2023-12-29 Thread RaiMan
Question #708813 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708813

Status: Open => Invalid

RaiMan changed the question status:
Spam

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

___
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 #708814]: Spam

2023-12-29 Thread RaiMan
Question #708814 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708814

Summary changed to:
Spam 

Description changed to:
Spam

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

___
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 #708814]: Spam

2023-12-29 Thread RaiMan
Question #708814 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708814

Status: Open => Invalid

RaiMan changed the question status:
Spam

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

___
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 #708813]: Spam

2023-12-29 Thread RaiMan
Question #708813 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708813

Summary changed to:
Spam

Description changed to:
Spam

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

___
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 #708765]: Spam

2023-12-21 Thread RaiMan
Question #708765 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708765

Status: Open => Invalid

RaiMan changed the question status:
Spam

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

___
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 #708765]: Spam

2023-12-21 Thread RaiMan
Question #708765 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708765

Summary changed to:
Spam

Description changed to:
Spam

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

___
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 #708499]: How to start and use SikuliX on Windows Terminal Server?

2023-12-10 Thread RaiMan
Question #708499 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708499

Status: Open => Answered

RaiMan proposed the following answer:
SikuliX uses monitor, keyboard and mouse of the system it runs on.

The monitor must be unlocked and available for Java Robot actions. The
availability includes some fake-monitor-implementations, that are
accepted by Java as a replacement for a real monitor. For such solutions
please consult the net.

I do not have any experience with such complex environments. So you have
to consult the net and do some tests/experiments.

All the best.

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

___
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 #708602]: how do i get a region based of image file?

2023-12-04 Thread RaiMan
Question #708602 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708602

RaiMan posted a new comment:
Use SikuliX 2.0.5 and this should work (scripting):

img = Image.create(".../someImg.png") # load the base image

# optionally create sub images 
imgReg = img.getSub(Region(x, y, w, h)) # x, y relative to 0 (top-left)
imgReg.text() # will read the text as with screen regions

More info about the text OCR features in the docs.

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

___
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 #708578]: Sikuli - Identify desktop application element attributes --- not planned

2023-11-30 Thread RaiMan
Question #708578 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708578

Summary changed to:
Sikuli - Identify desktop application element attributes --- not planned

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

___
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 #708578]: Sikuli - Identify desktop application element attributes

2023-11-30 Thread RaiMan
Question #708578 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708578

Status: Open => Solved

RaiMan changed the question status:
Not planned. Sorry.

SikuliX is and will stay a WYSIWYS (What you see is what you script)
tool.

Going into app or website internals is a completely different approach.

Image maintenance will surely get some improvements in the future.

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

___
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 #708465]: problem with native library: libVisionProxy.dylib

2023-11-18 Thread RaiMan
Question #708465 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708465

Status: Open => Answered

RaiMan proposed the following answer:
You have to give a valid path for an image.

A relative path in the work dir must not have a leading /  .

Best way: use the ImagePath features.

BTW: .png can be omitted - standard ending.

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

___
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 #708465]: problem with native library: libVisionProxy.dylib

2023-11-18 Thread RaiMan
Question #708465 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708465

Status: Open => Answered

RaiMan proposed the following answer:
the image cannot be found at this location:
"/src/test/resources/sikuli/go_back_to_game.png"

this is an absolute path???

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

___
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 #708469]: SikuliX still maintened ?

2023-11-18 Thread RaiMan
Question #708469 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708469

Status: Open => Answered

RaiMan proposed the following answer:
Generally: only SikuliX / sikulix as titles or part of artefact names
are valid and principally maintained and supported.

web page: http://www.sikulix.com/  (ok up to 2.0.5, currently not
maintained)

valid docs: https://sikulix-2014.readthedocs.io/en/latest/

Q/Bug forum widely used and fully supported:
https://launchpad.net/sikuli (exception to the sikulix rule due to
history)

stackoverflow and others are principally watched by me but not really
supported


--- Current development is paused due to private priorities.

Valid GitHup repo: https://github.com/RaiMan/SikuliX1

Latest stable release: 2.0.5

under development: 2.0.6 (prerelease/snapshots)

Things not mentioned in this answer are not supported by me.

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

___
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 #708437]: java.lang.IllegalArgumentException: Key: Not supported character:

2023-11-18 Thread RaiMan
Question #708437 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708437

Status: Open => Needs information

RaiMan requested more information:
SikuliX version?
System?
Keyboard layout?
Java version?

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

___
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 #708465]: problem with native library: libVisionProxy.dylib

2023-11-16 Thread RaiMan
Question #708465 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708465

Status: Open => Answered

RaiMan proposed the following answer:
Versions up to 2.0.5 do not work on Mac Mx machines.

You might try with 2.0.6 snapshot - see GitHub.

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

___
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 #708380]: Image find fails when searching more than one time the same image --- workaround see comment #4 and #5

2023-11-06 Thread RaiMan
Question #708380 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708380

Summary changed to:
Image find fails when searching more than one time the same image --- 
workaround  see comment #4 and #5

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

___
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 #708380]: Image find fails when searching more than one time the same image

2023-11-06 Thread RaiMan
Question #708380 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708380

Status: Solved => Answered

RaiMan changed the question status:
Thanks for the feedback.

I set it to answered, to keep it open for me.
No further action needed from your side.

I will post here, if I find the final solution.

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

___
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 #708380]: Image find fails when searching more than one time the same image

2023-11-06 Thread RaiMan
Question #708380 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708380

Status: Open => Answered

RaiMan proposed the following answer:
Got the stuff.

I suppose, that the image "Radiance.Administration.Language" is a shot
of the drop-down-label "User Language:".

You might try with switched off image caching (an image is always loaded from 
the image file):
Settings.setImageCache(0)
... as early as possible after script start.

Meanwhile you might as well try with the version 2.0.5 (if you like).

Meanwhile I have to replicate your implementation using Python-classes
and do some tests.

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

___
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 #708380]: Image find fails when searching more than one time the same image

2023-11-06 Thread RaiMan
Question #708380 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708380

RaiMan proposed the following answer:
I am sorry, but I cannot reproduce your situation.
It is true, that in the standard (Settings.CheckLastSeen = True) the image is 
searched, where it was seen the last time, but if it is not found there with 
the last similarity, then it is searched again normally in the given region).

To help you further, I need the 2 screenshots showing the image in the 2 
different locations and the relevant part of your script.
send to sikulix---at---outlook---dot---com

plus info about your system and Java version.

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

___
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 #708380]: Image find fails when searching more than one time the same image

2023-11-06 Thread RaiMan
Question #708380 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708380

Status: Open => Answered

RaiMan proposed the following answer:
I will check

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

___
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 #708330]: mismatch error in compilation for Siesta 4.1b4

2023-10-31 Thread RaiMan
Question #708330 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708330

Status: Answered => Solved

RaiMan changed the question status:
@Manfred: thanks.

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

___
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 #708296]: Changing default screen

2023-10-29 Thread RaiMan
Question #708296 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708296

Status: Open => Answered

RaiMan proposed the following answer:
use(Screen(1)) # switches default to 2nd screen
hover() # should move mouse to middle of 2nd screen
# more 
use() # switches back to first screen

tested with SX 2.0.5 on Win11

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

___
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 #700657]: [2.0.6]sikulixapi usage in Gradle projects

2023-07-27 Thread RaiMan
Question #700657 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/700657

Summary changed to:
[2.0.6]sikulixapi usage in Gradle projects

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

___
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 #700657]: [2.0.4]sikulixapi with java 11 on maxOS M1: problems using OCR features (Tesseract lib missing)

2023-07-27 Thread RaiMan
Question #700657 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/700657

RaiMan proposed the following answer:
@Anna
> Could not find org.openpnp:opencv:[4.7.0,].

sikulixapi pom has this dependency with a version [4.7.0,] which in
Maven means: take at least version 4.7.0, but if available any newer
version .

I have no Gradle experience and do not know how to tell Gradle, what to
do with such a version specification.

May be it is possible to tell Gradle to ignore it and you might add a
correct dependency for org.openpnp:opencv:4.7.0 or so.

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

___
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 #707066]: How to avoid "Select a region on the screen"

2023-07-27 Thread RaiMan
Question #707066 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707066

Status: Expired => Needs information

RaiMan changed the question status:
What version of SikuliX API are you using?

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

___
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 #700787]: [feature] focus application based on pid --- accepted

2023-07-26 Thread RaiMan
Question #700787 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/700787

Summary changed to:
[feature] focus application based on pid --- accepted

Description changed to:
track at https://github.com/RaiMan/SikuliX1/issues/307


i have an application that is running and i know hte pid based on getprocess in 
powershell
i would like that application to come to focus. how can i do that?
app.focus(pid) does not work


i am getting app process by below command
cmd='powershell\n Get-Process | Where-Object { $_.MainWindowTitle -Match 
\"Adobe Acrobat\" }| Where-Object { $_.Name -Match \"Acrobat\" } | Format-Table 
ID,Name,Mainwindowtitle -AutoSize'

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

___
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 #707123]: IDE: Can't run single line containing non-ASCII - a bug

2023-07-26 Thread RaiMan
Question #707123 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707123

Status: Answered => Solved

RaiMan changed the question status:
tracked as bug

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

___
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 #707123]: IDE: Can't run single line containing non-ASCII - a bug

2023-07-26 Thread RaiMan
Question #707123 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707123

Summary changed to:
IDE: Can't run single line containing non-ASCII - a bug

Description changed to:
bug tracked at GitHub: https://github.com/RaiMan/SikuliX1/issues/591
---

Hi !
Problem with this code ;

a="tést"
b="test"
print(b)
print(a)
print("tést")

When i run it all (CTRL+R), everything print normaly (output is "test tést 
tést").
But when i run only the last line (CTRL+MAJ+R) i've got this error :

[error] JythonRunner: runPython: (
print("tést")
) raised: SyntaxError: Illegal character in file '' for encoding 'utf-8'

How can i fix this ? Thanks !

Path to file is : 
"C:\Users\xnyb537\Documents\workspace\Git\sikulix_sytm\scenarii\test.sikuli\test.py"
Sikulix2.0.5-win
Win 10

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

___
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 #707123]: [utf-8] Can't print single sentence

2023-07-26 Thread RaiMan
Question #707123 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707123

RaiMan proposed the following answer:
With the IDE feature RunSelection the ute-8 specification is not
automatically prepended (as with running the full script).

This is a bug.

Instead of print() use uprint() and you can use the feature
RunSelection.

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

___
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 #707102]: How to append saved screenshot to htmltestrunner report

2023-07-26 Thread RaiMan
Question #707102 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707102

RaiMan proposed the following answer:
You have to specify a directory, where the screenshots are to be stored
(automatically taken inside).

myrunner = HTMLTestRunner.HTMLTestRunner(stream=outfile, title='',
description ='' ,  dirTestScreenshots='someFolder')

Only with this parameter given, the feature is switched on.

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

___
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 #707305]: Cannot type via Remote Desktop Windows using RF + Sikuli X

2023-07-26 Thread RaiMan
Question #707305 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707305

Status: Open => Answered

RaiMan changed the question status:
I have to leave this open due to lack of experience and possibilities to
test.

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

___
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 #707356]: hide command prompt when launching sikuli

2023-07-23 Thread RaiMan
Question #707356 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707356

Description changed to:
-- possible solutions -

see comments #4 and #6



i launch sikuli using commend line. however it keeps the comman line
open. i want that the command line should be hidden

cmd /K cd C:\Program Files\Java\jdk-14.0.2\bin && java -jar
"C:\p4\AUTOMA~1\FEATTE~1\Common\UIAUTO~1\sikulixapi-2.0.5.jar" -r
"C:\p4\AUTOMA~1\FEATTE~1\FEAT\Viewer\Menu\TESTFI~1\ValidateFileMenu.sikuli"
--args
"C:\Users\labuser\AppData\Local\Temp\JFEAT_~1\Menu\VALIDA~2\sikuliOutput_1689069030374.txt"
"Exchange-Pro" "Trunk" "" ""

image:
https://1drv.ms/i/s!AiK8y8l1yY8qllTFEBLTTO1HtCwd?e=NbrnfA

is there a way i can hide the command line altogether?

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

___
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 #707356]: hide command prompt when launching sikuli

2023-07-23 Thread RaiMan
Question #707356 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707356

Status: Answered => Solved

RaiMan changed the question status:
I think with comments #4 and #6 it can be set to solved.

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

___
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 #707280]: sikuli does'nt recognize images stably

2023-07-18 Thread RaiMan
Question #707280 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707280

Status: Needs information => Answered

RaiMan proposed the following answer:
Supposing you have a RetinaDisplay, then shift-command-4 creates
pictures having 4 pixels per "real pixel" at 144 dpi.

Since SikuliX (due to the used Java AWT Robot) gets the screen content
at 72dpi, these images cannot be found.

You either have to:
 - convert the images to half-width/half-height using Mac tools before use
 - or use Pattern(img).resize(0.5) instead of the image itself
 - or create the images using the Sikulix IDE

a tested example:
switchApp("safari")
wait(1)
img = "mac01.png" # taken with shift-command-4 (452x244 at 144dpi)
m = exists(img, 0)
print m # None (not found)

img = Pattern(img).resize(0.5)
m = exists(img, 0)
print m # M[548,574 226x122]IN(0) %93,07 ...

img = "mac02-1.png" # reduced to half-size with Mac Preview
m = exists(img, 0)
print m # M[548,574 226x122]IN(0) %92,90 ...

img = "img.png" # taken with IDE's snapshot
# different sizes due to manual snapshot actions
m = exists(img, 0)
print m # M[556,579 220x112]IN(0) %100,00 

As you can see, the IDE's snapshot creates the best images.

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

___
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 #707280]: sikuli does'nt recognize images stably

2023-07-16 Thread RaiMan
Question #707280 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707280

Status: Open => Needs information

RaiMan requested more information:
How (which tool) do you take images?

Send me samples with mail - see https://github.com/RaiMan

Do you act in browser windows?

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

___
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 #707280]: sikuli does'nt recognize images stably

2023-07-16 Thread RaiMan
Question #707280 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707280

Status: Needs information => Answered

RaiMan proposed the following answer:
Images taken on one system might make problems on other systems due to
different image rendering (either generally or by differing settings).

You might either use images taken on the actual system (at least for the
ones making problems) or lower the similarity (Pattern.similar). Be
aware: a lower similarity increases the risk for false positives.

Image contents that may lead to problems
- text (font differences, antialiasing, ...)
- edge rendering
- gui elements

You might check by visually comparing images from different systems on
the pixel level.

You might use the SikuliX IDE Preview feature to see the different
similarity scores on different systems.

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

___
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 #707102]: How to append saved screenshot to htmltestrunner report

2023-07-14 Thread RaiMan
Question #707102 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707102

Status: Expired => Answered

RaiMan changed the question status:
Still under investigation

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

___
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 #707288]: Recovering Source Code from Compiled .jar File for SikulixIDE

2023-07-14 Thread RaiMan
Question #707288 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707288

Status: Open => Answered

RaiMan proposed the following answer:
unzip the jar and look for .pyc files, which is the compiled code of your 
script.
... and you have to look for your images.

You may try to decompile the .pyc files.

in the net look for "decompile pyc".

Here is a possible solution: https://github.com/FuturisticGoo/UnPYC

... but I do not have any experiences.

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

___
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 #707280]: sikuli does'nt recognize images stably

2023-07-13 Thread RaiMan
Question #707280 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707280

Status: Open => Needs information

RaiMan requested more information:
Please be more specific about the problems you have.

What Java version?

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

___
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 #707123]: [utf-8] Can't print single sentence

2023-07-12 Thread RaiMan
Question #707123 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707123

Status: Open => Answered

RaiMan changed the question status:
still under investigation

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

___
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 #707123]: [utf-8] Can't print single sentence

2023-07-12 Thread RaiMan
Question #707123 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707123

Status: Expired => Open

RaiMan changed the question status:
still under investigation

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

___
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 #706874]: Using Sikulix on macOS Ventura

2023-07-10 Thread RaiMan
Question #706874 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706874

RaiMan proposed the following answer:
Due to private priorities I had to slow down my SikuliX activities.
I hope to get the final 2.0.6 out towards end of this year.

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

___
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 #706874]: Using Sikulix on macOS Ventura

2023-07-08 Thread RaiMan
Question #706874 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706874

RaiMan proposed the following answer:
2.0.6 is still not final during the next months, but is the only version
for macOS on Mx machines.

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

___
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 #707216]: add regions and return single region at runtime

2023-07-06 Thread RaiMan
Question #707216 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707216

Status: Open => Answered

RaiMan proposed the following answer:
setRaster(3, 1)
r = getRow(1).union(getRow(2))
r.highlight(3)

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

___
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 #707195]: To perform automation on image drawing by select shape on application and draw on image using sikuli

2023-07-05 Thread RaiMan
Question #707195 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707195

Status: Open => Answered

RaiMan proposed the following answer:
@Damini:
I fully understand the reaction of Manfred.

SikuliX can be used to simulate mouse actions on the screen and issue keyboard 
actions.
The most useful feature is the ability to find given images on a screen and by 
this define points on a screen to act on.

Using these features you can script a workflow that reproduces the
actions you are doing manually.

So to get help, you have to list these manual steps (mouse and
keyboard). The challenge with a SikuliX workflow is to identify the
click locations either by locating given images or by absolute/relative
screen coordinates.

So Manfred's advice from comment #5 is absolutely right.

But before you step further into details, make sure that the basic
features of SikuliX (locating images, use mouse and keyboard) are
useable in your environment. Just try some basic workflows and get a
feeling about what SikuliX can do for you.

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

___
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 #700787]: focus application based on pid

2023-07-04 Thread RaiMan
Question #700787 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/700787

Status: Open => Solved

RaiMan changed the question status:
Due to private priorities the final 2.0.6 will only be available towards
end of the year.

Until then you have to try with the snapshots:
https://github.com/RaiMan/SikuliX1

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

___
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 #707191]: show notification in sikuli

2023-07-04 Thread RaiMan
Question #707191 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707191

Status: Open => Answered

RaiMan proposed the following answer:
You should try with the subtasking features of Python, to display the
notification.

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

___
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 #707139]: [2.0.4] switchApp not telling apart windows of the same application

2023-07-02 Thread RaiMan
Question #707139 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707139

Status: Answered => Solved

RaiMan changed the question status:
accepted as bug
https://github.com/RaiMan/SikuliX1/issues/587

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

___
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 #707139]: [2.0.x] switchApp not telling apart windows of the same application --- accepted as bug

2023-07-02 Thread RaiMan
Question #707139 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707139

Summary changed to:
[2.0.x] switchApp not telling apart windows of the same application --- 
accepted as bug

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

___
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 #707139]: [2.0.4] switchApp not telling apart windows of the same application --- accepted as bug

2023-07-02 Thread RaiMan
Question #707139 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707139

Summary changed to:
[2.0.4] switchApp not telling apart windows of the same application --- 
accepted as bug

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

___
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 #707139]: [2.0.4] switchApp not telling apart windows of the same application

2023-07-02 Thread RaiMan
Question #707139 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707139

Description changed to:
accepted bug tracked on GitHub: https://github.com/RaiMan/SikuliX1/issues/587
--

I'm currently trying to upgrade Sikuli from 1.1 (1.1.1) to 2.0 (2.0.4)
and facing a strange behavior with switchApp: if I have 2 windows of the
same application (let's say two Google Chrome windows), switchApp seems
unable to tell them apart and always selects the one focused last.

For example
1. Open two chrome windows (in this order)
  * One on https://launchpad.net/sikuli
  * Another on https://www.perdu.com/
2. Open another application (e.g. explorer, notepad, ...) (optional, just to 
see application switching)
3. From Sikuli, call switchApp("Launchpad")

Results
* with Sikuli 1.1: switching to Chrome window with Launchpad site opened
* with Sikuli 2.0.4: switching to Chrome window with perdu.com 

Is there anything to do to have, with 2.0, a behavior similar to what I had in 
1.1?
In other words: was I doing something bad in 1.1 that worked anyway and should 
be fixed in 2.0?


I tried many things with no luck
I search our f(r)iend Internet (inc. here on Launchpad) but did not find 
something even similar.


Thanks,
Romuald


Environment
* Windows 10
* OpenJDK (Temurin)(build 1.8.0_372-b07)

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

___
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 #707139]: [2.0.4] switchApp not telling apart windows of the same application

2023-07-02 Thread RaiMan
Question #707139 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707139

RaiMan proposed the following answer:
Sorry, but I have to confirm the behavior.

Even in 2.0.6, where some App class enhancements have been made, it is not 
working.
So I do not have any solution using SikuliX App features currently.

But this might be a workaround:
having 2 or more Chrome windows/tabs open:

switchApp("Google")
wait(1) # might not be needed
type("a", Key.SHIFT+Key.CTRL) # start tab search
type("part of window/tab title")
type(Key.ENTER)
wait(3)

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

___
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 #707139]: [2.0.4] switchApp not telling apart windows of the same application

2023-06-28 Thread RaiMan
Question #707139 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707139

Status: Open => Answered

RaiMan proposed the following answer:
I will check and come back later.

Any need to stick to Java 8?
Possible to switch to Java 11+? Then you could try with 2.0.5

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

___
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 #706985]: Unable to find htmltestrunner file

2023-06-15 Thread RaiMan
Question #706985 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706985

Status: Open => Answered

RaiMan proposed the following answer:
Should be in the SikuliX AppData folder and there in /Lib

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

___
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 #706950]: find the image of the 3d model that can be rotated or zoomed

2023-06-09 Thread RaiMan
Question #706950 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706950

RaiMan proposed the following answer:
Not available as feature in SikuliX

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

___
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 #706950]: find the image of the 3d model that can be rotated or zoomed

2023-06-09 Thread RaiMan
Question #706950 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706950

Status: Answered => Invalid

RaiMan changed the question status:
Not possible

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

___
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 #706755]: Share the created project

2023-05-23 Thread RaiMan
Question #706755 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706755

Status: Open => Answered

RaiMan proposed the following answer:
Sorry, but currently there is no such feature available, that allows to
have a self-contained jar-file, that is executable without having the
SikuliX IDE installed.

In 2.0.5 the features "Export as (runnable) jar" produce a jar file that
contains the script folder contents, which in turn can be run from
command line:

java -jar sikulixide.jar -r myScript.jar

The advantage over the .skl (zip-packed) is, that the scripts are pre-
compiled Java-code and are a bit more safe against inspection/hacking.

The system to run such a jar must have Java 8+ installed and a working
SikuliX IDE 2.0.5

Since the overhead for a self-contained is more than 150MB for some KB
of script stuff, I do not think it makes sense to have such a feature.

But an installer, that takes care for a suitable OpenJDK and a usable
SikuliX, to run script containers, is surely a valuable option. After
summer I will have a deeper look on it.

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

___
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 #670985]: Easy way to take screenshot and region at the same time

2023-05-22 Thread RaiMan
Question #670985 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/670985

Description changed to:
Again asked her: https://answers.launchpad.net/sikuli/+question/706490 - but 
another solution
---

Hello, thank you a lot for making and maintaining Sikuli, I am
programming illiterate but I managed to make a few simple scripts where
it clicks on some stuff which is immensely helpful to automate tedious
tasks.

I have two questions, First: Is there an easy way to take a screenshot
and define a region at the same time in the exact same space? I want to
check for an image at an exact region, but when I use the screenshot and
region commands in the header and select them myself with the mouse It
is hard to pixel perfect select the exact same place on my screen for
screenshots and regions

Secondly: is there a way to click at the place an image has been found with the 
"exists" command without using regions command? I want to click on a fading 
image that can appear on random places of the screen. I tried using 
if exists(image):
click(image)
But then sometimes because the image is fading between where it checks for the 
image to exists and actually clicking it the image faded just enough that the 
script doesn't detect it anymore and therefore the script breaks (because it 
tries to click on something that doesn't exist anymore at this point). 

Thanks in advance

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

___
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 #706732]: How to run AppleScript file from sikuli: run("osascript some.applescript")

2023-05-22 Thread RaiMan
Question #706732 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706732

Summary changed to:
How to run AppleScript file from sikuli: run("osascript some.applescript")

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

___
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 #706732]: is there a way to directly run applescript from sikuli

2023-05-22 Thread RaiMan
Question #706732 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706732

Status: Open => Answered

RaiMan proposed the following answer:
use 
run("osascript yxs_script")

which runs the command osascript internally from a command line .

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

___
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 #706750]: macOS Intel: SX205: unable to install needed Tesseract 4 (brew installs version 5)

2023-05-22 Thread RaiMan
Question #706750 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706750

RaiMan proposed the following answer:
Since my comment #2 was an answer on your comment #1, I meant the link
in your comment #1 :-))

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

___
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 #706750]: macOS Intel: SX205: unable to install needed Tesseract 4 (brew installs version 5)

2023-05-22 Thread RaiMan
Question #706750 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706750

Summary changed to:
macOS Intel: SX205: unable to install needed Tesseract 4  (brew installs 
version 5)

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

___
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 #706750]: macOS Intel: SX205: unable to install needed Tesseract 4 (brew installs version 5)

2023-05-22 Thread RaiMan
Question #706750 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706750

Status: Open => Answered

RaiMan proposed the following answer:
Found this also - looks promising, but no time to test it before end of
June.

You should try the solution mentioned in the comment.

Feedback appreciated.

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

___
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 #706732]: is there a way to directly run applescript from sikuli

2023-05-21 Thread RaiMan
Question #706732 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706732

Status: Open => Answered

RaiMan proposed the following answer:
this works having the AppleScript text in the running script:

runScript (
"""
applescript
display dialog \"hello\"
"""
)

See:
https://sikulix-2014.readthedocs.io/en/latest/scripting.html#runScript
(the second info runScript(snippet))

Internally we use osascript.
To run an Applescript file is not implemented, but you might use a call to 
osascript using the normal runScript.

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

___
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


  1   2   3   4   5   6   7   8   9   10   >