Select Text - Python Script

Thanks, that is what I was looking for.
Greetings,
Tudor