Hello Anna,
Thank you for answering. Script you sent is OK but what I need is that points are named automatically when user adds stop on the map. This way, when user adds stop at the map, stop gets default name (Graphic Pick1, Graphic Pick 2...) and after that script needs to be started in order names to be changed.
Entering default name in route properties raises a problem that all stops are named identically and that can be confusing for users.
Thanks,
Boban