PDA

View Full Version : [SOLVED] A script or program for API/Macro. Is it Possible?



zap_xlib
August 12th, 2010, 04:33 PM
I was wondering if it`s possible to write a script or program that`s like a macro.

For Example: When i execute the script, the following should happen:

- Rhythmbox application must be launched.
- Control must be transferred to Stores -> Magnatune
- A random song must be selected from a random category and must start playing.

So, i don`t need to start rhythmbox each time and click on magnatune and wait for the song list to load and play a song.

I guess with Process ID and stuff like that, it`s possible. But i would like to get a more detailed solution in C++ or Python.

Thank you!.

zap_xlib
August 12th, 2010, 11:39 PM
I just looked up the API reference for Rhythmbox and thought that i could simply write a plug-in and solve the problem.

Cheers!.