Home › Forums › Forums › General discussion › Adding external commands to Navit › Reply To: Adding external commands to Navit
August 2, 2017 at 1:32 am #6760
Mark
Participant
Thanks for your quick reply. Sadly that doesn’t work either. Trying to simplify things I have tried just calling Python as in the code below:-
<osd type=”button” x=”-65″ y=”120″ command=”zoom_out()” src=”Zoom_out.xpm” />
<osd type=”button” x=”-65″ y=”180″ command=’gui.spawn(“python”)’ src=”Zoom_out.xpm” />
The first line of code is yours, the second is my version.
I’ll try and ask the question on the Navit forum and report back if I get a solution.