(AGK version: 2019-01-17)
Submitted: 2019-02-20 16:38:21
// set window properties
#constant Device_Width GetDeviceWidth()
#constant Device_Height GetDeviceHeight()

do

    print("X: "+str(Device_Width))
    print("Y: "+str(Device_Height))

    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.