V
V
Victor Nasonov2014-10-09 21:28:25
linux
Victor Nasonov, 2014-10-09 21:28:25

What are the methods of global automation?

Suppose the player (aimp) is running, it plays internet radio. Firefox is also running. It is necessary to write a script that, after launch, monitors whether the radio is being played with aimp, and knows which radio is being played, monitors pressing the ctrl + alt + right arrow keys and switches the radio to another, if the aimp playlist runs out of radio stations, the script opens the background tab in firefox and goes to site of radio stations and includes the following radio station. And so in a circle: aimp radio stations, radio stations from the site.
This is one of the tasks to automate, what are the ways to perform such tasks?
I would like a universal language for nix and windows.
I got acquainted with autoit, reflection. I think to try to do it in Python, loading my library to the necessary process to control it. The library can be made not in Python.
Ideally, I would like the script to run and adapt to the running OS and running programs, loading the necessary scripts from the network.
Any ideas?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valentine, 2014-10-10
@vvpoloskin

It's not about the language, but about the tool that the operating system provides. And here universality will definitely not work. On windows, I don't know, but on Linux, libnotify serves for this.
And if you want universality, get confused and write a cross-platform lib, it will work through sockets)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question