(AGK version: 108.13)
Submitted: 2013-06-13 03:54:31
do
    ix= GetDeviceWidth()
    iy= GetDeviceHeight()

    print("X: "+str(ix))
    print("Y: "+str(iy))

    if getpointerpressed()=1 then exit

    sync()
loop
end
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.