Comments (3)
Also tried this:-
[cnd@uvm ~]$ python3 clicky.pyc
RuntimeError: Bad magic number in .pyc file
from atbswp.
I noticed this find nothing:-
grep -r sys.arg .
so it looks like this tool does not have any way to read commandline arguments?
I guess this is now a feature-request:-
Please allow us to run this code as follows:-
./atbswpv0.3.0-linux saved_capture_file
and for the code to open, automatically play that capture, and then end and exit.
Think about this: right now, there's no way to automate the mouse, without using the mouse...
This simple extra addition allows us to script mouse things from the command line.
from atbswp.
a) Document what "Compile to exe" actually is/does
b) Make it work so that I can save something and then run a command to play it back :-)( I assume (b) exists, but it's not documented on the project homepage... )
The .pyc is a python bytecode file, you can read more about that here. I am not against a PR to explain a bit what it is to people that might be confused. I just don't find it that much relevant to add to the project page as it's not something specific to atbswp, but to the whole Python ecosystem. I will probably never do that myself.
Also tried this:-
[cnd@uvm ~]$ python3 clicky.pyc RuntimeError: Bad magic number in .pyc file
This is actually interesting to me, can you try to decompile the file and post the content here?
uncompyle6 -o . your_filename.pyc
You might need to install uncompyle6
first
I noticed this find nothing:-
grep -r sys.arg .
so it looks like this tool does not have any way to read commandline arguments?
I guess this is now a feature-request:-
Please allow us to run this code as follows:-
./atbswpv0.3.0-linux saved_capture_file
and for the code to open, automatically play that capture, and then end and exit.
Think about this: right now, there's no way to automate the mouse, without using the mouse...
This simple extra addition allows us to script mouse things from the command line.
Yes, it's a GUI-only program (for now). Playing a capture from atbswp seems like an useful addition for people that don't have Python installed on their OS. Feel free to open a new issue with that specific inquiry and I will certainly have a look when I have more time.
from atbswp.
Related Issues (20)
- keydown doesn't work with spanish "ñ". Possible solution in Win10
- Ubuntu running make == /bin/sh: 0: Illegal option -o pipefail (x3) make: *** [Makefile:22: help] Error 2 HOT 1
- Missing interface hotkeys at Linux Mint 20.3 with Cinnamon and python3. HOT 1
- gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed HOT 1
- atbswp crashes on wayland on click
- Feature request: Support indented blocks in macro scripts HOT 2
- ModuleNotFoundError: No module named 'wx' HOT 4
- Issue with CTRL+C and CTRL+V HOT 1
- Obsolete program? Playback Faster is not working. HOT 1
- run with docker ? HOT 2
- Tips page dnw HOT 2
- Playback results are incorrect HOT 2
- Need help - azerty keyboard HOT 3
- problem HOT 2
- Register holding down a button of the mouse HOT 3
- ModuleNotFoundError: No module named 'wx._core'
- Keyboard layout
- "[5057] Failed to execute script atbswp"
- Input device selection on record & non-interfering repeat on systems with multiple mice
- Ctrl+C and Ctrl+V not implemented. Possible solution here! (in win10 at least) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atbswp.