27 | | To write functional script than "josm.alert(josm.menu.length);" you should combine examples from multiple pages, for example: |
28 | | * [http://gubaer.github.io/josm-scripting-plugin/apidoc/classes/JSAction.html Create an action using "JSAction" class], then [http://gubaer.github.io/josm-scripting-plugin/doc/menu.html attach it to menu as was show at "Extending the JOSM menu and the JOSM toolbar" page] |
| 27 | To write functional scripts than "josm.alert(josm.menu.length);" you should combine examples from multiple pages, for example: |
| 28 | * [http://gubaer.github.io/josm-scripting-plugin/apidoc/classes/JSAction.html Create an action using "JSAction" class], then [http://gubaer.github.io/josm-scripting-plugin/doc/menu.html attach it to menu as was shown at "Extending the JOSM menu and the JOSM toolbar" page] |