Changes between Version 14 and Version 15 of Help/Plugin/Scripting
- Timestamp:
- 2016-04-27T23:35:45+02:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Plugin/Scripting
v14 v15 17 17 The [https://gubaer.github.io/josm-scripting-plugin scripting plugin] allows you to run scripts within JOSM. 18 18 19 You can run scripts from console or from files. If you pick files, then latest scripts will appear in "scripting" menu. See also 20 19 21 == How to write your own scripts == 20 22 23 Please carefully inspect both resources: 24 * http://gubaer.github.io/josm-scripting-plugin/doc/documentation.html - follow all links here 25 * http://gubaer.github.io/josm-scripting-plugin/apidoc/modules/josm.html - scan what all classes, modules, mixins and namespaces can do. 21 26 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] 22 29 23 30 == Implementations details == … … 44 51 Run once per JOSM session. 45 52 53 == Advanced settings == 54 55 Search for {{{scripting.}}} substring. 56 46 57 == See also == 47 58 * [wiki:/Plugins Plugin Help]
