From 09adfcfe0211dd312c335d62906faa02d26fdf1a Mon Sep 17 00:00:00 2001 From: Raimund Hocke Date: Tue, 2 Apr 2019 08:52:04 +0200 Subject: [PATCH 01/17] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8cc3933..5674012 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Currently you have to look into the Python files, to find out, what is possible. Before running Python scripts this way, you have to start a SikuliX server instance manually: -``java -jar path-to/sikulixapi.jar pythonserver`` +``java -jar path-to/sikulixapi.jar -p`` When you see this in the terminal window, it is running: @@ -37,6 +37,8 @@ März 15, 2019 10:26:20 VORM. py4Java.GatewayServer fireServerStarted INFO: Gateway Server Started ``` +Adding ``-v`` to the commandline will give you startup debug information. + **What is the plan** - have the complete official SikuliX API with docs available at time of script development (autocomplete, docs, help, ...) - be able to additionally access every public method from the SikuliX Java API (you must know the method signature) @@ -48,8 +50,8 @@ INFO: Gateway Server Started - anything might be changed at any time without notice - errors and warnings you get in the terminal window can be ignored, as long as it works as intended on the Python side - output coming from the SikuliX Java API is currently only going to the terminal window -- my current development work is on macOS 10.14, Java 11, Python 3.7 with PyCharm -- no tests on Windows nor Linux yet +- my current development work is on macOS 10.14/Windows 10, Java 11/12, Python 3.7 with PyCharm +- no tests on Linux yet **An example** From 2da43e9df43ab6caf5c9ba79c1ee64fe3630a371 Mon Sep 17 00:00:00 2001 From: Raimund Hocke Date: Tue, 2 Apr 2019 08:54:44 +0200 Subject: [PATCH 02/17] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5674012..e909bbb 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Use SikuliX from real [Python via py4j](https://www.py4j.org) (but no need to kn **What you need** - the latest 1.1.4 sikulixapi.jar (https://raiman.github.io/SikuliX1/downloads.html) - a Python installation 2.7 up to 3.7 (3.7 recommended) + - run ``pip install py4j`` to get the support on the Python side - a mature Python IDE (I use IntelliJ's PyCharm) or just a Python REPL. **How to test** From 6a2d2005a58702c4ebe6350a9485cd134495b6cc Mon Sep 17 00:00:00 2001 From: RaiMan Date: Wed, 3 Apr 2019 11:39:22 +0200 Subject: [PATCH 03/17] minor --- testSikulix4python.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testSikulix4python.py b/testSikulix4python.py index 134a408..721a84a 100644 --- a/testSikulix4python.py +++ b/testSikulix4python.py @@ -9,6 +9,8 @@ #print(sxClassHelp("Region")); exit() +#hover(100,100); exit() + reg = Region() print(reg) reg.setX(100).setW(300) From ec11080c2b5fc5555289bd672a0efbb6a5a67c9b Mon Sep 17 00:00:00 2001 From: RaiMan Date: Wed, 3 Apr 2019 11:44:05 +0200 Subject: [PATCH 04/17] minor --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e909bbb..a6923ad 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,9 @@ März 15, 2019 10:26:20 VORM. py4Java.GatewayServer fireServerStarted INFO: Gateway Server Started ``` +You will get a SikuliX popup (always on top), that allows you to stop the server again. + Move it out of the way until needed ;-) and there is a more elegant way stop the support. + Adding ``-v`` to the commandline will give you startup debug information. **What is the plan** From bd8dbc0975d0cd1f4954a39ddb9a4db9bd53e6b5 Mon Sep 17 00:00:00 2001 From: RaiMan Date: Wed, 10 Apr 2019 13:34:57 +0200 Subject: [PATCH 05/17] revised: stop hotkey --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index a6923ad..d63e9a5 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,7 @@ März 15, 2019 10:26:20 VORM. py4Java.GatewayServer fireServerStarted INFO: Gateway Server Started ``` -You will get a SikuliX popup (always on top), that allows you to stop the server again. - Move it out of the way until needed ;-) and there is a more elegant way stop the support. +To stop the server you can use the known stop hotkey (Windows: ALT-SHIFT-C, Mac: CMD-SHIFT-C). Adding ``-v`` to the commandline will give you startup debug information. From d0f3edec5c6a4c84cbcfd8c021a992a4d794440f Mon Sep 17 00:00:00 2001 From: Raimund Hocke Date: Mon, 10 Jun 2019 13:57:34 +0200 Subject: [PATCH 06/17] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index d63e9a5..6d93415 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # sikulix4python + +*(currently paused --- will be continued starting in late June 2019)* + Use SikuliX from real [Python via py4j](https://www.py4j.org) (but no need to know, how it works ;-) **under development -- no guarentee for anything :-)** From 9c6b631f9ae54b407f1eae57a9032469d1955c65 Mon Sep 17 00:00:00 2001 From: Raimund Hocke Date: Thu, 18 Jul 2019 13:02:16 +0200 Subject: [PATCH 07/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d93415..178501f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # sikulix4python -*(currently paused --- will be continued starting in late June 2019)* +*(currently paused --- will be continued starting in late Summer 2019)* Use SikuliX from real [Python via py4j](https://www.py4j.org) (but no need to know, how it works ;-) From 41c0ae3337b8c190d7077fe4a04e337bd57fe215 Mon Sep 17 00:00:00 2001 From: RaiMan Date: Sun, 25 Aug 2019 14:50:35 +0200 Subject: [PATCH 08/17] changed: the py4j jar must now be downloaded and put into SikuliX extension folder --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 178501f..fa6194f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ Use SikuliX from real [Python via py4j](https://www.py4j.org) (but no need to kn ... but you might post issues (questions, bugs, ideas, requests, ...) **What you need** - - the latest 1.1.4 sikulixapi.jar (https://raiman.github.io/SikuliX1/downloads.html) + - the latest ``1.1.4 sikulixapi.jar`` ([download from here](https://raiman.github.io/SikuliX1/downloads.html)) + - the jar ``py4j-0.10.8.1.jar`` in the SikuliX extensions folder ([download from here](https://search.maven.org/remotecontent?filepath=net/sf/py4j/py4j/0.10.8.1/py4j-0.10.8.1.jar)) - a Python installation 2.7 up to 3.7 (3.7 recommended) - run ``pip install py4j`` to get the support on the Python side - a mature Python IDE (I use IntelliJ's PyCharm) or just a Python REPL. @@ -92,3 +93,6 @@ if match: match.highlight(2) match.click() ``` + + +[]: https://raiman.github.io/SikuliX1/downloads.html \ No newline at end of file From c3e74058876364786975f8bb4bbc9d36dca26dff Mon Sep 17 00:00:00 2001 From: RaiMan Date: Sun, 25 Aug 2019 14:53:28 +0200 Subject: [PATCH 09/17] minor --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index fa6194f..f672d67 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,3 @@ if match: match.highlight(2) match.click() ``` - - -[]: https://raiman.github.io/SikuliX1/downloads.html \ No newline at end of file From 2620e5501f104e67761bcd5149ae3ea406f175ba Mon Sep 17 00:00:00 2001 From: Raimund Hocke Date: Wed, 22 Apr 2020 14:22:07 +0200 Subject: [PATCH 10/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f672d67..b84bd26 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # sikulix4python -*(currently paused --- will be continued starting in late Summer 2019)* +*(currently paused --- will be continued starting in late Summer 2020)* Use SikuliX from real [Python via py4j](https://www.py4j.org) (but no need to know, how it works ;-) From 4ab79d963ab8de8bd52e5c3491d96573742caf0a Mon Sep 17 00:00:00 2001 From: Raimund Hocke Date: Wed, 23 Dec 2020 14:37:35 +0100 Subject: [PATCH 11/17] postponed to 2021 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b84bd26..1127e0c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # sikulix4python -*(currently paused --- will be continued starting in late Summer 2020)* +*(currently paused --- will be continued starting early in 2021)* Use SikuliX from real [Python via py4j](https://www.py4j.org) (but no need to know, how it works ;-) @@ -9,7 +9,7 @@ Use SikuliX from real [Python via py4j](https://www.py4j.org) (but no need to kn ... but you might post issues (questions, bugs, ideas, requests, ...) **What you need** - - the latest ``1.1.4 sikulixapi.jar`` ([download from here](https://raiman.github.io/SikuliX1/downloads.html)) + - the latest ``sikulixapi.jar`` ([download from here](https://raiman.github.io/SikuliX1/downloads.html)) - the jar ``py4j-0.10.8.1.jar`` in the SikuliX extensions folder ([download from here](https://search.maven.org/remotecontent?filepath=net/sf/py4j/py4j/0.10.8.1/py4j-0.10.8.1.jar)) - a Python installation 2.7 up to 3.7 (3.7 recommended) - run ``pip install py4j`` to get the support on the Python side From e506f40bb6f51d6fd48be48096377d8c195e0105 Mon Sep 17 00:00:00 2001 From: Raimund Hocke Date: Wed, 23 Dec 2020 14:40:41 +0100 Subject: [PATCH 12/17] bump py4j version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1127e0c..82e85d1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Use SikuliX from real [Python via py4j](https://www.py4j.org) (but no need to kn **What you need** - the latest ``sikulixapi.jar`` ([download from here](https://raiman.github.io/SikuliX1/downloads.html)) - - the jar ``py4j-0.10.8.1.jar`` in the SikuliX extensions folder ([download from here](https://search.maven.org/remotecontent?filepath=net/sf/py4j/py4j/0.10.8.1/py4j-0.10.8.1.jar)) + - the jar ``py4j-0.10.9.1.jar`` in the SikuliX extensions folder ([download from here](https://repo1.maven.org/maven2/net/sf/py4j/py4j/0.10.9.1/py4j-0.10.9.1.jar)) - a Python installation 2.7 up to 3.7 (3.7 recommended) - run ``pip install py4j`` to get the support on the Python side - a mature Python IDE (I use IntelliJ's PyCharm) or just a Python REPL. From 8a0236b19d005ef85c0c78623e86cded928e84ca Mon Sep 17 00:00:00 2001 From: Raimund Hocke Date: Sun, 14 Feb 2021 12:45:09 +0100 Subject: [PATCH 13/17] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 82e85d1..09b6bf1 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,7 @@ Use SikuliX from real [Python via py4j](https://www.py4j.org) (but no need to kn ... but you might post issues (questions, bugs, ideas, requests, ...) **What you need** - - the latest ``sikulixapi.jar`` ([download from here](https://raiman.github.io/SikuliX1/downloads.html)) - - the jar ``py4j-0.10.9.1.jar`` in the SikuliX extensions folder ([download from here](https://repo1.maven.org/maven2/net/sf/py4j/py4j/0.10.9.1/py4j-0.10.9.1.jar)) + - the latest ``sikulixapi.jar (2.0.5+)`` ([download from here](https://raiman.github.io/SikuliX1/downloads.html)) - a Python installation 2.7 up to 3.7 (3.7 recommended) - run ``pip install py4j`` to get the support on the Python side - a mature Python IDE (I use IntelliJ's PyCharm) or just a Python REPL. From 7ff78ae95f0f1e324b6cfac14e39781e002f8235 Mon Sep 17 00:00:00 2001 From: Raimund Hocke Date: Sun, 14 Feb 2021 13:48:13 +0100 Subject: [PATCH 14/17] Update README.md --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 09b6bf1..a2f0a99 100644 --- a/README.md +++ b/README.md @@ -34,17 +34,14 @@ Before running Python scripts this way, you have to start a SikuliX server insta ``java -jar path-to/sikulixapi.jar -p`` -When you see this in the terminal window, it is running: +When you see this in the commandline window, it is running: ``` -März 15, 2019 10:26:20 VORM. py4Java.GatewayServer fireServerStarted -INFO: Gateway Server Started +[info] SikulixAPI: Running py4j server on port 25333 ``` To stop the server you can use the known stop hotkey (Windows: ALT-SHIFT-C, Mac: CMD-SHIFT-C). -Adding ``-v`` to the commandline will give you startup debug information. - **What is the plan** - have the complete official SikuliX API with docs available at time of script development (autocomplete, docs, help, ...) - be able to additionally access every public method from the SikuliX Java API (you must know the method signature) From 7e8294dfdead1a14c28c68c18be9363d1535da4c Mon Sep 17 00:00:00 2001 From: Raimund Hocke Date: Sun, 14 Feb 2021 15:01:47 +0100 Subject: [PATCH 15/17] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a2f0a99..137a2d9 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Use SikuliX from real [Python via py4j](https://www.py4j.org) (but no need to kn **What you need** - the latest ``sikulixapi.jar (2.0.5+)`` ([download from here](https://raiman.github.io/SikuliX1/downloads.html)) - - a Python installation 2.7 up to 3.7 (3.7 recommended) + - a Python installation 2.7 up to 3.9 (testing on 3.9) - run ``pip install py4j`` to get the support on the Python side - a mature Python IDE (I use IntelliJ's PyCharm) or just a Python REPL. @@ -53,7 +53,7 @@ To stop the server you can use the known stop hotkey (Windows: ALT-SHIFT-C, Mac: - anything might be changed at any time without notice - errors and warnings you get in the terminal window can be ignored, as long as it works as intended on the Python side - output coming from the SikuliX Java API is currently only going to the terminal window -- my current development work is on macOS 10.14/Windows 10, Java 11/12, Python 3.7 with PyCharm +- my current development work is on macOS 11, Windows 10, Java 11/15, Python 3.9 with PyCharm - no tests on Linux yet **An example** From 0c5c5bc85f567052bb623ed62dcd6b4b45af449d Mon Sep 17 00:00:00 2001 From: Raimund Hocke Date: Sun, 14 Feb 2021 15:04:20 +0100 Subject: [PATCH 16/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 137a2d9..40ad581 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # sikulix4python -*(currently paused --- will be continued starting early in 2021)* +*(currently paused --- will be continued starting in 2nd quarter 2021)* Use SikuliX from real [Python via py4j](https://www.py4j.org) (but no need to know, how it works ;-) From 66d4f529a60dd802b73900f1baa858eaad454867 Mon Sep 17 00:00:00 2001 From: Raimund Hocke Date: Fri, 8 Oct 2021 12:49:44 +0200 Subject: [PATCH 17/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 40ad581..14db259 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # sikulix4python -*(currently paused --- will be continued starting in 2nd quarter 2021)* +*(currently paused --- will be continued 2022 hopefully;-)* Use SikuliX from real [Python via py4j](https://www.py4j.org) (but no need to know, how it works ;-)