In the picture above it would be the left pink line which touches feature of another feature class on both ends.
The best would be, if there is a way to find out the right features automatically. This question ( Distinguishing lines that intersect from lines that touch? ) could also be a solution, but I have difficulties using the Python Script. I want to use this as a script tool but I don't know how to select parameters. I thought they will be added automatically after adding the Python script, but it didn't work out.
How can I do this?