ac5474012 发表于 2008-11-28 12:57:04

如何用au3截屏?

如何用au3截屏?

搞定了是版本的问题

[ 本帖最后由 ac5474012 于 2008-12-1 10:51 编辑 ]

bing614 发表于 2008-11-28 14:16:42

_ScreenCapture_Capture

ac5474012 发表于 2008-12-1 10:47:19

但是我为什么报着个错误?

G:\可移动磁盘 (K)\au3\autoit3-3.2.13.6\Include\WinAPI.au3(1028,85) : ERROR: syntax error
Func _WinAPI_CreateFont($nHeight, $nWidth, $nEscape = 0, $nOrientn = 0, $fnWeight = $__WINAPCONSTANT_FW_NORMAL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
G:\可移动磁盘 (K)\au3\autoit3-3.2.13.6\Include\WinAPI.au3(1029,71) : WARNING: $szFace: possibly used before declaration.
        Local $tBuffer = DllStructCreate("char FontName[" & StringLen($szFace)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
G:\可移动磁盘 (K)\au3\autoit3-3.2.13.6\Include\WinAPI.au3(1034,20) : WARNING: $fnWeight: possibly used before declaration.
                        'int', $fnWeight,
                        ~~~~~~~~~~~~~~~~^
G:\可移动磁盘 (K)\au3\autoit3-3.2.13.6\Include\WinAPI.au3(1034,38) : WARNING: $bItalic: possibly used before declaration.
                        'int', $fnWeight, 'long', $bItalic,
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
G:\可移动磁盘 (K)\au3\autoit3-3.2.13.6\Include\WinAPI.au3(1034,59) : WARNING: $bUnderline: possibly used before declaration.
                        'int', $fnWeight, 'long', $bItalic, 'long', $bUnderline,
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
G:\可移动磁盘 (K)\au3\autoit3-3.2.13.6\Include\WinAPI.au3(1034,80) : WARNING: $bStrikeout: possibly used before declaration.
                        'int', $fnWeight, 'long', $bItalic, 'long', $bUnderline, 'long', $bStrikeout,
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
G:\可移动磁盘 (K)\au3\autoit3-3.2.13.6\Include\WinAPI.au3(1034,99) : WARNING: $nCharset: possibly used before declaration.
                        'int', $fnWeight, 'long', $bItalic, 'long', $bUnderline, 'long', $bStrikeout, 'long', $nCharset,
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
G:\可移动磁盘 (K)\au3\autoit3-3.2.13.6\Include\WinAPI.au3(1034,121) : WARNING: $nOutputPrec: possibly used before declaration.
                        'int', $fnWeight, 'long', $bItalic, 'long', $bUnderline, 'long', $bStrikeout, 'long', $nCharset, 'long', $nOutputPrec,
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
G:\可移动磁盘 (K)\au3\autoit3-3.2.13.6\Include\WinAPI.au3(1035,22) : WARNING: $nClipPrec: possibly used before declaration.
                        'long', $nClipPrec,
                        ~~~~~~~~~~~~~~~~~~^
G:\可移动磁盘 (K)\au3\autoit3-3.2.13.6\Include\WinAPI.au3(1035,41) : WARNING: $nQuality: possibly used before declaration.
                        'long', $nClipPrec, 'long', $nQuality,
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
G:\可移动磁盘 (K)\au3\autoit3-3.2.13.6\Include\WinAPI.au3(1035,58) : WARNING: $nPitch: possibly used before declaration.
                        'long', $nClipPrec, 'long', $nQuality, 'long', $nPitch,
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
G:\可移动磁盘 (K)\au3\autoit3-3.2.13.6\Include\WinAPI.au3(1029,71) : ERROR: $szFace: undeclared global variable.
        Local $tBuffer = DllStructCreate("char FontName[" & StringLen($szFace)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
页: [1]
查看完整版本: 如何用au3截屏?