Darius,<br><br>Have you considered paying for the upgrade to the mapper application itself?<br>It might already have the features you require and be commercially supported.<br><br>One thing which puzzles me about what you are attempting to achieve however is how you can use the console whilst driving?<br>
<br>Gary (lcuk on #maemo)<br><br><div class="gmail_quote">On Mon, Jul 7, 2008 at 6:23 PM, Darius Jack &lt;<a href="mailto:dariusjack2006@yahoo.ie">dariusjack2006@yahoo.ie</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks Eero,<br>
<br>
xnee MS Windows like macro record play facility is ok.<br>
Tried to install from repositories, none for OS2007HE.<br>
Frankly speaking what I need as macro on-the-fly composer<br>
to generate macro commands and have them played in xnee for maemo-mapper,<br>
from time to time.<br>
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<br>
to get D-BUS API para-functionality.<br>
<br>
I would like to have track saving enabled/disabled from time to time by macro sceript and the like<br>
to make maemo-mapper more user friendly.<br>
The same problem exist with other GPS car navigation devices.<br>
To many, to much clicks to make a right option selection.<br>
This is all about Interfaces and Interfacing , HID.<br>
To let the main application to be run as it runs and give<br>
adaptative modified interfaces to a user.<br>
So to move GUI HID to D-BUS like in mplayer run from command line.<br>
<br>
Nowadays, GUI applications are more click-and-click applications than<br>
intelligent HID ones.<br>
<br>
Maemo-mapper is my only way to build HID interface.<br>
Have you tried to run maemo-mapper from XNEE macro generated on-the-fly<br>
by events ?<br>
<br>
Darius<br>
<br>
<br>
--- On Mon, 7/7/08, Eero Tamminen &lt;<a href="mailto:eero.tamminen@nokia.com">eero.tamminen@nokia.com</a>&gt; wrote:<br>
<br>
&gt; From: Eero Tamminen &lt;<a href="mailto:eero.tamminen@nokia.com">eero.tamminen@nokia.com</a>&gt;<br>
&gt; Subject: Re: Shell API to call maemo-mapper commands, functions, options ?<br>
&gt; To: <a href="mailto:dariusjack2006@yahoo.ie">dariusjack2006@yahoo.ie</a><br>
&gt; Cc: &quot;Maemo developers mailing-list&quot; &lt;<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a>&gt;<br>
&gt; Date: Monday, 7 July, 2008, 6:05 PM<br>
<div><div></div><div class="Wj3C7c">&gt; Hi,<br>
&gt;<br>
&gt; ext Darius Jack wrote:<br>
&gt; &gt; what I really need is shell script to emulate GUI<br>
&gt; actions in maemo-mapper.<br>
&gt; &gt; Any chance to have shell script to interact with<br>
&gt; maemo-mapper basic functions/commands ?<br>
&gt; &gt;<br>
&gt; &gt; Frankly speaking I would like to add few more options,<br>
&gt; have more selection choices, nothing special.<br>
&gt; &gt; User friendly shell API is what I need.<br>
&gt; &gt; If you are aware how to run maemo-mapper from a<br>
&gt; command line with options, please tell me how.<br>
&gt; &gt;<br>
&gt; &gt; Ok. I can run maemo-mapper from a command line.<br>
&gt; &gt; Any chance to have fifo pipe and send parameters from<br>
&gt; command line to maemo-mapper already running.<br>
&gt; &gt; What I like is exactly what I did in shell with<br>
&gt; mplayer.<br>
&gt; &gt; To decrease volume level I press &quot;9&quot; &nbsp;-4%<br>
&gt; down<br>
&gt; &gt; pressing &quot;0&quot; get 2% volume up rise.<br>
&gt; &gt;<br>
&gt; &gt; Sorry for such basic questions but I would greatly<br>
&gt; appreciate your advice.<br>
&gt;<br>
&gt; If the program doesn&#39;t have e.g. D-BUS API, you can<br>
&gt; always record<br>
&gt; the required user input events with &quot;Xnee&quot; and<br>
&gt; play them back.<br>
&gt; This requires that the application is in known state<br>
&gt; though[1].<br>
&gt;<br>
&gt; If you need only single (stylus or key) event, then you<br>
&gt; could<br>
&gt; use also &quot;xresponse&quot;. &nbsp;Both of these can be<br>
&gt; gotten from the maemo<br>
&gt; tools repo:<br>
&gt; &nbsp; &nbsp; &nbsp; <a href="http://maemo.org/development/tools/" target="_blank">http://maemo.org/development/tools/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; - Eero<br>
&gt;<br>
&gt; [1] If this isn&#39;t known, Gtk UIs can be introspected<br>
&gt; through its<br>
&gt; accessibility APIs, but that&#39;s starting to be *a lot*<br>
&gt; of effort<br>
&gt; (Atk bridge requires Bonobo/Corba on the device).<br>
<br>
</div></div><div class="Ih2E3d">Send instant messages to your online friends <a href="http://uk.messenger.yahoo.com" target="_blank">http://uk.messenger.yahoo.com</a><br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</div></div></blockquote></div><br>