So the format of the .txt file is: Top,Bottom,Left,Right and then k is the escape character?

I assume that the k is the character to end the mouse lock (as set by the .txt file? and not EOF.

Pretty sure I will answer my own question when I compile it, but are the X and Y positions defined by the pixels or percentage? I assume pixels as the sample txt file has > 100 numbers. Pixels would be a more precise way anyway.