import pyautogui, time, sys, os
import pyautogui as py

## A nice small terminal window.
os.system('mode con: cols=45 lines=10')

## Get the Windows screen size.
print(pyautogui.size())

## Get screen pos X and Y co-ordinates.
print('Press Ctrl+C to quit.')
print('')


while True: 
    print (py.position(), end='\r')
    time.sleep(1)

## Actions plotting for Freddy:
## At Spotify's Main page...
## LOCALS playlist screen coordinates x,y = (50,505)
## To open LOCALS playlist, 1 LEFT mouse click, wait 10 seconds. 

## Open pop-up menu:
## Item 1 on LOCALS playlist, three-dot-menu (...) screen coordinates x,y = (1537,574)
## To Open menu, 1 RIGHT mouse click, wait 10 seconds.

## Add item to play queue:
## screen coordinates x,y = (1376,605)
## To add item to queue, 1 LEFT mouse click, wait 10 seconds.

