Replace (fast) an Item of a List at index X


my replaceItemOfList:{"aaaa", "bbbb"} atIndex:2 withValue:(path to desktop folder)

on replaceItemOfList:aList atIndex:anIndex withValue:aValue
	local aList, anIndex, aValue
	tell (a reference to item anIndex of aList) to set contents to aValue
	return aList
end replaceItemOfList:atIndex:withValue: