Tag: Rename

The Rename action allows you to automatically rename a list.

<Rename ListName="oldName" name="newName"/>

Tag Attributes

AttributesValue Description
ListNameAny string to ID the list - Required
NameRegular action name - Required

If ListName and Name are identical (case insensitive), nothing happens and a warning is issued.

Example Script

	<List Name="oldName" Action="SetVar" var4="42"/>
	<List Name="oldName" Action="SetVar" var4=""/>
	<List Name="oldName" Action="SetVar" var4="666"/>
	<Rename ListName="oldName" name="newName"/>
	<Loop list="newName">
		<Echo value="======> var4={%var4%}"/>