想写个在规定时间取色的GUI 好象进入死循环了 帮忙看下
#include <GUIConstantsEx.au3>GUICreate("颜色显示", 300, 160)
$inputcolor= GUICtrlCreateInput("color", 180, 10, 80, 20)
$EXITbutton = GUICtrlCreateButton("退出", 30, 100, 60)
$inputcolor= GUICtrlCreateInput("color", 180, 10, 80, 20)
$sj=@HOUR&@MIN
While ($sj>1000 And $sj<1200) Or ($sj>1400 And $sj<1600)
While @MSEC=20
$msg = GUIGetMsg()
If $msg=$EXITbutton Then
exit
EndIf
$var = PixelGetColor( 1323 , 916 )
ControlSetText ( "颜色显示", "", GUICtrlRead($inputcolor), $var )
WEnd
WEnd
页:
[1]