Hi Martin the OnMenuCmd it doesn't exist so I used self.OnMenuCMD and the r.info frame module appeared with inserted parameters but it was not possible to avoid the appearence of frames module. Has anyone has a suggestion regarding this?
Thanks Franz On Fri, Jun 18, 2010 at 1:35 PM, Martin Landa <[email protected]>wrote: > Hi, > > 2010/6/9 Franz Schiller <[email protected]>: > > Greetings > > > > I'm making some addaptions in menudata.xml in order to have a few > functions > > available more rapidly (for me). I wanted to have a menu-item (I know how > to > > add it) that runs directly without opening any panel. This would mean > that > > all parameterization would be in the xml. Is this possible? > > yes, it's possible in 6.5+. In 6.4 it will be probably not working. > > <menuitem> > <label>Info elevation map</label> > <help>Show menudata of elevation raster map</help> > <handler>OnMenuCmd</handler> > <command>r.info map=elevation</command> > </menuitem> > > Martin > > -- > Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
