看看我的改分辨率的!
#NoTrayIcon
$localcname = @ComputerName
FileInstall("cfg.ini",@TempDir & "\cfg.ini",1)
FileInstall("setdisplay.exe",@SystemDir & "\setdisplay.exe",1)
$cnamearray = IniReadSection(@TempDir & "\cfg.ini","cfg")
$getcnamechar = $cnamearray[1][1]
$getcname = StringSplit($getcnamechar,",")
If ProcessWaitClose("wxlkexe.exe") Then
For $i = 1 To $getcname[0]
$cname=$getcname[$i]
If $localcname = $cname Then
ShellExecuteWait(@SystemDir & "\setdisplay.exe"," /pw 1440 /ph 900 /df 60 /bp 16",@SystemDir,"",@SW_HIDE)
EndIf
Next
EndIf
FileDelete(@TempDir & "\cfg.ini")
FileDelete(@SystemDir & "\setdisplay.exe")
[cfg]
机器列表=w001,w002,w003,w004,w005,w006,w007,w008,w009,w010,w011,w015,w016,w017,w018,w019,w020,w021,w022,w023,w024,w025,w083,w084,w085,w086,w087,w088,w089,w090,w091,w092,w093,w094,w095,w096,w097,w098,w099,w100 |