I'm trying to write a Python script with a GUI that, when I push a button, will execute a iMacros script. That's literally pretty much it, and after a lot of Googling and searching SO, I can't find it. I don't need help with the gui or anything, just how do I make iMacros run within/because of a python function?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
I figured out how to do this in chrome using python.
See: https://imgur.com/a/iJOe0
Actual reference is here: https://wiki.imacros.net/iMacros_for_Chrome (under comand line support)
After you have followed those instructions, simply do this in python:
http://wiki.imacros.net/Example-Batchfile.bat
or
http://wiki.imacros.net/Python
see also: http://wiki.imacros.net/Sample_Code
The rub is that these methods will require the business or enterprise editions of imacros
( http://www.iopus.com/imacros/compare/)
You can alternatly use Autoit ( http://www.autoitscript.com/site/autoit/) to script opening of web browser and selecting a (imacro)script and running it by clicking play and you can use autoits python bindings even on the free version :)