找回密码
 加入
搜索
查看: 2364|回复: 2

如何用au3截屏?

[复制链接]
发表于 2008-11-28 12:57:04 | 显示全部楼层 |阅读模式
如何用au3截屏?

搞定了是版本的问题

[ 本帖最后由 ac5474012 于 2008-12-1 10:51 编辑 ]
发表于 2008-11-28 14:16:42 | 显示全部楼层
_ScreenCapture_Capture
 楼主| 发表于 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)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-5 22:01 , Processed in 0.070621 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表