Description:
You can use this script to change the name of a network.
List of used variables:
Add-in code:
/** * @param {Config} config * @param {Context} context * Do not edit this comment or parameter types. Required for code suggestions */ exports.main = function (config, context) { var networkName = context.network.name; config.addScriptLine( "# example: get network name" ); config.addScriptLine( "# name of this network is: " + networkName); }; |
---|
Add-in as JSON file:
network_name.json