[maemo-developers] Shell API to call maemo-mapper commands, functions, options ?
From: Eero Tamminen eero.tamminen at nokia.comDate: Mon Jul 7 19:05:06 EEST 2008
- Previous message: Shell API to call maemo-mapper commands, functions, options ?
- Next message: Shell API to call maemo-mapper commands, functions, options ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, ext Darius Jack wrote: > what I really need is shell script to emulate GUI actions in maemo-mapper. > Any chance to have shell script to interact with maemo-mapper basic functions/commands ? > > Frankly speaking I would like to add few more options, have more selection choices, nothing special. > User friendly shell API is what I need. > If you are aware how to run maemo-mapper from a command line with options, please tell me how. > > Ok. I can run maemo-mapper from a command line. > Any chance to have fifo pipe and send parameters from command line to maemo-mapper already running. > What I like is exactly what I did in shell with mplayer. > To decrease volume level I press "9" -4% down > pressing "0" get 2% volume up rise. > > Sorry for such basic questions but I would greatly appreciate your advice. If the program doesn't have e.g. D-BUS API, you can always record the required user input events with "Xnee" and play them back. This requires that the application is in known state though[1]. If you need only single (stylus or key) event, then you could use also "xresponse". Both of these can be gotten from the maemo tools repo: http://maemo.org/development/tools/ - Eero [1] If this isn't known, Gtk UIs can be introspected through its accessibility APIs, but that's starting to be *a lot* of effort (Atk bridge requires Bonobo/Corba on the device).
- Previous message: Shell API to call maemo-mapper commands, functions, options ?
- Next message: Shell API to call maemo-mapper commands, functions, options ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]