ich benötige die aktuelle Bildschirmauflösung während der Installation eines Pakets.
Folgendes habe ich schon versucht:
Code: Select all
callhidden cmd.exe /c wmic.exe path win32_videocontroller get CurrentHorizontalResolution | find /V /I "CurrentHorizontalResolution" > "%temp%\resolution.txt"
Set CurrentHorizontalResolution=ReadTextFile ("%temp%\resolution.txt")
callhidden cmd.exe /c wmic.exe path win32_videocontroller get CurrentVerticalResolution | find /V /I "CurrentVerticalResolution" > "%temp%\resolution.txt"
Set CurrentVerticalResolution=ReadTextFile ("%temp%\resolution.txt")
Hat jemand eine Idee?
Vielen Dank und Gruß
Ralph