Hey Guys,
I have this code:
Now i want to say if desktop hight and widht is not 1364 x 768 that it will go to the part to check 1024 x 768.
How can i do that?
$deskhig = @DesktopHeight
$deskwidt = @DesktopWidth
If $deskhig = 768 and $deskwidt = 1364 Then
MsgBox(0, "Supported", $deskwidt & "x" & $deskhig & " " & @UserName)
Run ("C:\Users\Desktop\Micollab Status Toevoeger 1364 x 768.exe")
Else
MsgBox (0, "Not Supported", "Not supported")
EndIf
If $deskhig = 768 and $deskwidt = 1024 Then
MsgBox(0, "Supported", $deskwidt & "x" & $deskhig & " " & @UserName)
Run ("C:\Users\Desktop\Micollab Status Toevoeger 1024 x 768.exe")
Else
MsgBox (0, "Not Supported", "Not supported")
EndIf
If $deskhig = 1080 and $deskwidt = 1920 Then
MsgBox(0, "Supported", $deskwidt & "x" & $deskhig & " " & @UserName)
Run ("C:\Users\Desktop\Micollab Status Toevoeger 1920 x 1080.exe")
Else
MsgBox (0, "Not Supported", "Not supported")
EndIf
Exit