jmgr / actiona Goto Github PK
View Code? Open in Web Editor NEWCross-platform automation tool
Home Page: https://actiona.tools
License: GNU General Public License v3.0
Cross-platform automation tool
Home Page: https://actiona.tools
License: GNU General Public License v3.0
main.cpp:105:10: error: #error ("You need Qt 5.2.0 or later to compile Actiona Executer");
#error("You need Qt 5.2.0 or later to compile Actiona Executer");
^
Makefile:254: recipe for target 'generated/main.o' failed
make[1]: *** [generated/main.o] Error 1
make[1]: Leaving directory '/opt/actionaz/actexecuter'
Makefile:156: recipe for target 'sub-actexecuter-make_default-ordered' failed
make: *** [sub-actexecuter-make_default-ordered] Error 2
...but qt5 is not in the requeriments...
Actiona does not work on raspberry pi 3 under raspian. The software can not start (the loading remains blocked).
See the forum topic: https://www.jmgr.net/forum/viewtopic.php?f=13&t=1434
The 64 bit version of Actiona seems to have issues simulating a mouse click under Windows 10.
Hello,
How to integrate secondary scripts (.ascr) from a first (.ascr) ?
Hi, thank you very much for Actiona.
I want to say that visual editing is not good for complex scripts as it is very complicated and does not allow hard references to code (only code lines).
Many developers wants to have ability to create automation scripts with ecmaScript
code. From this code developer can call Actiona's functions i.e. findImage like var pos = actiona.core.findImage(params)
It will make Actiona the best automation tool ever.
Hello.
There's one important feature that is currently missing in Actiona : detect key press.
If there was a way to detect keys used on the keyboard (as soon as they are pressed), it would allow many new possibilities of script creation.
Related forum post:
https://www.jmgr.net/forum/viewtopic.php?f=30&p=14235#p14235
Il y a actuellement une fonctionnalité qui manque cruellement dans Actiona: la détection de touches du clavier.
S'il y avait un moyen de détecter les touches qui sont utilisées sur le clavier (dès que l'utilisateur appuie sur elles), cela permettrait de nombreuses nouvelles possibilités de création de script.
J'espère vraiment que cette fonction puisse être ajoutée dans une prochaine version de Actiona.
I have been a problem to use the action and Ubuntu 17.10, many actions don't work properly such as "Find Image" and " Move cursor". Can you help me?
Thanks!
thoreau@Thoreau:~$ sudo apt-get install actionaz
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
actiona libopencv-contrib2.4v5 libopencv-gpu2.4v5 libopencv-legacy2.4v5
libopencv-ml2.4v5 libopencv-ocl2.4v5 libopencv-photo2.4v5
libopencv-stitching2.4v5 libopencv-superres2.4v5 libopencv-ts2.4v5
libopencv-videostab2.4v5 libqt5multimedia5 libqt5multimediawidgets5
libqt5opengl5 libqt5scripttools5 libqt5xmlpatterns5
The following NEW packages will be installed:
actiona actionaz libopencv-contrib2.4v5 libopencv-gpu2.4v5
libopencv-legacy2.4v5 libopencv-ml2.4v5 libopencv-ocl2.4v5
libopencv-photo2.4v5 libopencv-stitching2.4v5 libopencv-superres2.4v5
libopencv-ts2.4v5 libopencv-videostab2.4v5 libqt5multimedia5
libqt5multimediawidgets5 libqt5opengl5 libqt5scripttools5 libqt5xmlpatterns5
0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/5,324 kB of archives.
After this operation, 19.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package libqt5scripttools5:amd64.
(Reading database ... 176049 files and directories currently installed.)
Preparing to unpack .../00-libqt5scripttools5_5.7.1~20161021+dfsg-2_amd64.deb ...
Unpacking libqt5scripttools5:amd64 (5.7.1~20161021+dfsg-2) ...
Selecting previously unselected package libopencv-ml2.4v5:amd64.
Preparing to unpack .../01-libopencv-ml2.4v5_2.4.9.1+dfsg1-1_amd64.deb ...
Unpacking libopencv-ml2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Selecting previously unselected package libopencv-contrib2.4v5:amd64.
Preparing to unpack .../02-libopencv-contrib2.4v5_2.4.9.1+dfsg1-1_amd64.deb ...
Unpacking libopencv-contrib2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Selecting previously unselected package libopencv-legacy2.4v5:amd64.
Preparing to unpack .../03-libopencv-legacy2.4v5_2.4.9.1+dfsg1-1_amd64.deb ...
Unpacking libopencv-legacy2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Selecting previously unselected package libopencv-photo2.4v5:amd64.
Preparing to unpack .../04-libopencv-photo2.4v5_2.4.9.1+dfsg1-1_amd64.deb ...
Unpacking libopencv-photo2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Selecting previously unselected package libopencv-gpu2.4v5:amd64.
Preparing to unpack .../05-libopencv-gpu2.4v5_2.4.9.1+dfsg1-1_amd64.deb ...
Unpacking libopencv-gpu2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Selecting previously unselected package libopencv-ocl2.4v5:amd64.
Preparing to unpack .../06-libopencv-ocl2.4v5_2.4.9.1+dfsg1-1_amd64.deb ...
Unpacking libopencv-ocl2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Selecting previously unselected package libopencv-stitching2.4v5:amd64.
Preparing to unpack .../07-libopencv-stitching2.4v5_2.4.9.1+dfsg1-1_amd64.deb ...
Unpacking libopencv-stitching2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Selecting previously unselected package libopencv-superres2.4v5:amd64.
Preparing to unpack .../08-libopencv-superres2.4v5_2.4.9.1+dfsg1-1_amd64.deb ...
Unpacking libopencv-superres2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Selecting previously unselected package libopencv-ts2.4v5:amd64.
Preparing to unpack .../09-libopencv-ts2.4v5_2.4.9.1+dfsg1-1_amd64.deb ...
Unpacking libopencv-ts2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Selecting previously unselected package libopencv-videostab2.4v5:amd64.
Preparing to unpack .../10-libopencv-videostab2.4v5_2.4.9.1+dfsg1-1_amd64.deb ...
Unpacking libopencv-videostab2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Selecting previously unselected package libqt5multimedia5:amd64.
Preparing to unpack .../11-libqt5multimedia5_5.7.1~20161021-2_amd64.deb ...
Unpacking libqt5multimedia5:amd64 (5.7.1~20161021-2) ...
Selecting previously unselected package libqt5opengl5:amd64.
Preparing to unpack .../12-libqt5opengl5_5.7.1+dfsg-3+b1_amd64.deb ...
Unpacking libqt5opengl5:amd64 (5.7.1+dfsg-3+b1) ...
Selecting previously unselected package libqt5multimediawidgets5:amd64.
Preparing to unpack .../13-libqt5multimediawidgets5_5.7.1~20161021-2_amd64.deb ...
Unpacking libqt5multimediawidgets5:amd64 (5.7.1~20161021-2) ...
Selecting previously unselected package libqt5xmlpatterns5:amd64.
Preparing to unpack .../14-libqt5xmlpatterns5_5.7.1~20161021-3_amd64.deb ...
Unpacking libqt5xmlpatterns5:amd64 (5.7.1~20161021-3) ...
Selecting previously unselected package actiona.
Preparing to unpack .../15-actiona_3.9.2-1_amd64.deb ...
Unpacking actiona (3.9.2-1) ...
Selecting previously unselected package actionaz.
Preparing to unpack .../16-actionaz_3.9.2-1_all.deb ...
Unpacking actionaz (3.9.2-1) ...
Setting up libopencv-ml2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Setting up libopencv-legacy2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Setting up libopencv-ts2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Setting up libopencv-contrib2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Setting up libqt5opengl5:amd64 (5.7.1+dfsg-3+b1) ...
Setting up libqt5multimedia5:amd64 (5.7.1~20161021-2) ...
Setting up libqt5xmlpatterns5:amd64 (5.7.1~20161021-3) ...
Setting up libqt5scripttools5:amd64 (5.7.1~20161021+dfsg-2) ...
Processing triggers for libc-bin (2.24-9) ...
Setting up libopencv-ocl2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for shared-mime-info (1.8-1) ...
Processing triggers for gnome-menus (3.13.3-8) ...
Setting up libopencv-photo2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up libqt5multimediawidgets5:amd64 (5.7.1~20161021-2) ...
Setting up libopencv-gpu2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Setting up libopencv-stitching2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Setting up libopencv-videostab2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Setting up libopencv-superres2.4v5:amd64 (2.4.9.1+dfsg1-1) ...
Setting up actiona (3.9.2-1) ...
Setting up actionaz (3.9.2-1) ...
Processing triggers for libc-bin (2.24-9) ...
thoreau@Thoreau:~$ actiona
(actiona:2599): GLib-GObject-WARNING **: cannot register existing type 'GtkWidget'
(actiona:2599): GLib-GObject-WARNING **: cannot add class private field to invalid type '<invalid>'
(actiona:2599): GLib-GObject-WARNING **: cannot add private field to invalid (non-instantiatable) type '<invalid>'
(actiona:2599): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(actiona:2599): GLib-GObject-WARNING **: cannot register existing type 'GtkBuildable'
(actiona:2599): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
(actiona:2599): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(actiona:2599): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(actiona:2599): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed
(actiona:2599): GLib-GObject-WARNING **: cannot add private field to invalid (non-instantiatable) type '<invalid>'
The application GUI then launches, but freezes while loading "Creating action dialog Pixel color".
It would be great if an optional delay could be added between each character when using the writeText() function.
The writeText() function seems like the best way to output text in a script. However some programs have difficulty accepting such fast input.
Thanks
When searching for the following test images in a full screen Chrome or VLC window playing a video that is only black screen, Actiona will always think it has found the image.
This means I cannot search videos for any visual markers.
Images are multiple pixels of solid color.
Running an SFX script that does not include a bundled version of Actiona does not work: Actiona is not detected, even if it has been installed on the system.
Forum topic: https://jmgr.net/forum/viewtopic.php?f=27&t=1374 (French)
Actiona can't start. This is my terminal output (debian 9 - testing):
(actiona:30457): GLib-GObject-WARNING **: cannot register existing type 'GtkWidget'
(actiona:30457): GLib-GObject-WARNING **: cannot add class private field to invalid type '<invalid>'
(actiona:30457): GLib-GObject-WARNING **: cannot add private field to invalid (non-instantiatable) type '<invalid>'
(actiona:30457): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(actiona:30457): GLib-GObject-WARNING **: cannot register existing type 'GtkBuildable'
(actiona:30457): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
(actiona:30457): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(actiona:30457): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(actiona:30457): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed
(actiona:30457): GLib-GObject-WARNING **: cannot add private field to invalid (non-instantiatable) type '<invalid>'
The new version of actioanz seems to have a hard coded bug. If you select search image -> image to search for and go on with "select screen" or "capture windows" two times in row after clicking finish actionaz will likely immediately crash on Windows 7 x64. Windows is telling you that the program doesn't work any more must be closed.
Hi, If everybody is interested in Fedora packages, I just started maintaining a repo in Copr (Fedora's equivalent to Ubuntu PPAs) - https://copr.fedoraproject.org/coprs/mkrawiec/actiona/
Sorry for writing it on the bugtracker, but apparently forum activation is broken as I didn't get my email. So its actually a bug report as well 🐛
Hello.
I decided to make an openSUSE package. I got a runtime error:
Unable to load 1 action(s):
libActionPackData: "Cannot load library /usr/lib/actionaz/actions/libActionPackData.so: > (librudeconfig.so.1: cannot open shared object file: No such file or directory)"
%rpm -ql actionaz | grep librudeconfig
/usr/lib/actionaz/librudeconfig.so.1
/usr/lib/actionaz/librudeconfig.so.1.0
/usr/lib/actionaz/librudeconfig.so.1.0.0
How can libraries directory be changed to set it to lib64 for x64 hosts?
Hello,
I usually run actionaz on Windows for executing external JS code to automatize my actions.
But recently, I tried to adapt it on Linux (xubuntu-12.04-desktop-i386) and actionaz just gets stuck when trying to run the following line:
var mouse = new Mouse();
I have to use "xkill" to close the not responding actionaz application.
Note: My xubuntu is running in a VM (VMWare Player).
I would love to understand why this happens because Actionaz is my favorite tool for automatizing things :)
On the click action, if no position or offset was given, the mouse should not move.
https://github.com/Jmgr/actiona/blob/master/actions/actionpackdevice/actions/clickinstance.cpp#L60
I am able to get around this by making the 'position' a code snippet shown below.
var myMouse = myMouse || new Mouse();
myMouse.position();
However this is probably more hacky then it needs to be.
The play sound action didnt work until I first installed libqt5multimedia5-plugins
.
Should this be installed as a dependent package?
A build option should allow Actiona builds to be reproducible, that means not use any DATE and TIME macros. See https://tests.reproducible-builds.org/rb-pkg/unstable/amd64/actiona.html
Forum topic: https://www.jmgr.net/forum/viewtopic.php?f=30&t=1371 (French)
Bonjour,
j'essaye d'utiliser les lignes de commande actiona ( https://wiki.actiona.tools/doku.php?id=en:commandline ) sur Windows mais soit je m'y prend mal soit elles bug :-/
Quand je fais un actiona -v, la console ne m'affiche rien et me permet d'executer une nouvelle commande.
Le but de final serait de réussir à lancer un script Actiona depuis un autre script Actiona mais pas miyen de le faire fonctionner jusque maintenant.
Avez vous une idée d'où pourrait venir le soucis ?
J'ai fait les tests sur Windows 7 et 10 avec actiona 3.8 et 3.9
The window displaying when executing the action stretches after the question label. It should stretch before the button box instead.
In any action that asks the user to choose a pixel, like Pixel Color, the returned color is always white. This is probably because the mouse cursor gets "screen shot" instead of the targeted pixel.
We could try to have the exact same behaviour as with Actiona 3.8.0 (Qt 4), but since some Win32toQt functions have disappeared with Qt 5 this would require to integrate some implementation within Actiona.
Forum topic: https://jmgr.net/forum/viewtopic.php?f=27&t=1407 (French)
It is not very clear what is meant to be after or before.
Could we possibly get a some instructions for setting up a windows build environment?
Can I cross-compile Actiona in Linux for windows? Or do we need to setup windows environment?
https://travis-ci.org/voidlinux/void-packages/jobs/128766086#L3401
This is in a test environment for the Void Linux repos. The version of QT5 that is present is, as my title states, 5.6.
Forum topic: https://jmgr.net/forum/viewtopic.php?f=27&t=1383 (French)
Not a defect, this is already working as expected (probably). -- So this would be a feature add.
If I click close or cancel on the input dialog, it would be nice to be able to set that action inside the data input edit action setup.
ie -- Cancel button action --> (could be drop down with some basic choices... Stop script, continue with default, roll your own...)
--- Same goes for clicking the [x] to close the dialog.
In addition, languages names in Settings are not translated either.
Due to this, actiona looks like default QT theming instead of using GTK theming. After installing qt5-styleplugins
as descibed here and then exporting QT_STYLE_OVERRIDE='gtk2'
actiona crashes.
(actiona:9217): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager'
(actiona:9217): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(actiona:9217): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
(actiona:9217): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(actiona:9217): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(actiona:9217): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(actiona:9217): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(actiona:9217): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplay'
(actiona:9217): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(actiona:9217): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed
(actiona:9217): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(actiona:9217): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
[1] 9217 segmentation fault (core dumped) actiona
Hi,
I'm using a BÉPO layout for my keyboard.
When using "Write text", the text is written using the QWERTY layout, so it's just garbage :)
Hello.
Currently, if you look at the Actiona window, it's hard to know what actions do (at least, until you double click on one of them to see what it does). It doesn't help having a quick overview of the whole macro.
Here is my suggestion:
Writing in the console using an action or Console.print can be postponed by "pausing" the execution, for instance with Execution.pause. It should be displayed immediately instead.
Forum topic: https://jmgr.net/forum/viewtopic.php?f=30&t=1372 (French)
Forum post (in French): https://www.jmgr.net/forum/viewtopic.php?f=27&t=1762&p=6188#p6188
Some windows from other UI programs (Chromium for instance) are not displayed in the window-based actions and in code.
Forum topic: https://www.jmgr.net/forum/viewtopic.php?f=27&t=1401 (French)
Testing Actiona 3.8.0 under windows, this code example no longer works:
Actiona Wiki: code:examples
Possibly related to _<actiona_install_directory>\code\script\qtscript_gui.dll_ having file size of _0 Bytes_.
I'm looking to try and create some helper actions, for linux and windows, but i cannot find any examples.
I would like to suggest a separate repository (maintained by you?) to collect action scripts created by everyone, as a body of work for people to steal from.
Using the Key press action, cancelling a script execution while a key was being pressed crashes the program.
See the forum: https://www.jmgr.net/forum/viewtopic.php?f=13&t=1433
Hi, thanks for this awesome program!
Is it possible to add an option to highlight executed lines to rapidly see where "jumps" are made?
Thx!
This is due to the line numbers being shown in the line combobox.
Where can i get the windows binaries?
The website https://actiona.tools/ is not hosting the binaries.
Thanx.
Hi,
I've been working on packaging this into Fedora for more than a year. I found that libqxt has been bundled into sources. Since libqxt has been packaged by many distros, is it OK to ge rid of these in sources?
Thanks.
When running the action the default value is capped at 99.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.