Code: Select all
@DISPLAY {Width = 400, Height = 300, Color = #GRAY}
top=GetAttribute(#DISPLAY, 1, #ATTRYPOS)
left=GetAttribute(#DISPLAY, 1, #ATTRXPOS)
CreateDisplay(2, {Width = 200, Height = 100, X=left-50, Y=top, Active=False})
OpenDisplay(2,False)
SelectDisplay(1)
ActivateDisplay(1)
DebugPrint("Display 1:",GetAttribute(#DISPLAY, 1, #ATTRACTIVE))
DebugPrint("Display 2:",GetAttribute(#DISPLAY, 2, #ATTRACTIVE))
WaitLeftMouse()