本帖最后由 solox 于 2013-11-12 14:50 编辑
脚本里面需要用到日期转换,脚本如下:#include <Date.au3>
Local $Y, $M, $D
Local $sDayValue = _DateToDayValue(@YEAR,@MON,@MDAY)
Local $sDate = _DayValueToDate($sDayValue+1,$Y,$M,$D)
Local $sNewDate = $Y & $M & $D
编译运行出错:
D:\autoit3\Include\StructureConstants.au3 (1687) : ==> ?????.:
Global Const $tagREBARBANDINFO = "uint cbSize;uint fMask;uint fStyle;dword clrFore;dword clrBack;ptr lpText;uint cch;" & "int iImage;hwnd hwndChild;uint cxMinChild;uint cyMinChild;uint cx;handle hbmBack;uint wID;uint cyChild;uint cyMaxChild;" & "uint cyIntegral;uint cxIdeal;lparam lParam;uint cxHeader" & ((@OSVersion = "WIN_XP") ? "" : ";" & $tagRECT & ";uint uChevronState")
Global Const $tagREBARBANDINFO = "uint cbSize;uint fMask;uint fStyle;dword clrFore;dword clrBack;ptr lpText;uint cch;" & "int iImage;hwnd hwndChild;uint cxMinChild;uint cyMinChild;uint cx;handle hbmBack;uint wID;uint cyChild;uint cyMaxChild;" & "uint cyIntegral;uint cxIdeal;lparam lParam;uint cxHeader" & ((@OSVersion = "WIN_XP") ^ ERROR |