[maemo-developers] Shell API to call maemo-mapper commands, functions, options ?

From: Darius Jack dariusjack2006 at yahoo.ie
Date: Mon Jul 7 21:23:10 EEST 2008
Thanks Eero,

xnee MS Windows like macro record play facility is ok.
Tried to install from repositories, none for OS2007HE.
Frankly speaking what I need as macro on-the-fly composer
to generate macro commands and have them played in xnee for maemo-mapper,
from time to time.
So I need to know if there is a way to have some standard m-m macros prerecorded/saved and modify them and make them playable in xnee
to get D-BUS API para-functionality.

I would like to have track saving enabled/disabled from time to time by macro sceript and the like
to make maemo-mapper more user friendly.
The same problem exist with other GPS car navigation devices.
To many, to much clicks to make a right option selection.
This is all about Interfaces and Interfacing , HID.
To let the main application to be run as it runs and give
adaptative modified interfaces to a user.
So to move GUI HID to D-BUS like in mplayer run from command line.

Nowadays, GUI applications are more click-and-click applications than
intelligent HID ones.

Maemo-mapper is my only way to build HID interface.
Have you tried to run maemo-mapper from XNEE macro generated on-the-fly 
by events ?

Darius


--- On Mon, 7/7/08, Eero Tamminen <eero.tamminen at nokia.com> wrote:

> From: Eero Tamminen <eero.tamminen at nokia.com>
> Subject: Re: Shell API to call maemo-mapper commands, functions, options ?
> To: dariusjack2006 at yahoo.ie
> Cc: "Maemo developers mailing-list" <maemo-developers at maemo.org>
> Date: Monday, 7 July, 2008, 6:05 PM
> 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).

Send instant messages to your online friends http://uk.messenger.yahoo.com 

More information about the maemo-developers mailing list