I edited your post to make your example codes visible — you need to mark stuff like that as code to make sure we can read it.
This post provides a starting point you could modify to get what you want:
I edited your post to make your example codes visible — you need to mark stuff like that as code to make sure we can read it.
This post provides a starting point you could modify to get what you want: