If @DesktopWidth = 800 and @DesktopHeight = 600 Then ;800x600
;Какоето действие
ElseIf @DesktopWidth = 1024 and @DesktopHeight = 768 Then ;1024x768
;Какоето действие
ElseIf @DesktopWidth = 1920 and @DesktopHeight = 1024 Then ;1920x1024
;Какоето действие
EndIf