Can be used any, but usually the best is client area coordinates. It is default in the Mouse dialog and when recording.
Client area coordinates are used like this:
lef x y window 1
Window coordinates:
lef x y window
Screen:
lef x y
Client area coordinates are used like this:
lef x y window 1
Window coordinates:
lef x y window
Screen:
lef x y