输出调试信息到 _DebugSetup() 设置的调试会话框
#include <Debug.au3>
_DebugOut ( $sOutput [, $bActivate] )
$sOutput | 要输出到调试会话的字符串或其他可打印值. |
$bActivate | [可选参数] 忽略,保持向后兼容性. |
成功: | 返回 1, @Error 与 @Extended 和以前一样调用 _DebugOut(). |
失败: | 返回 0 , 设置 @Error: |
@Error: | 0 = 没有错误. |
1 = $sOutput 是一个不兼容的类型. | |
3 = _DebugSetup() 没有正常运行. |
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.2.8.1
Author: David Nuttall
Script Function:
Base script to show functionality of Debug functions.
#ce ----------------------------------------------------------------------------
#include <Debug.au3>
_DebugSetup("Check Excel")
For $i = 1 To 4
WinActivate("Microsoft Excel")
; 与 Excel 交互
Send("{Down}")
_DebugOut("Moved Mouse Down")
Next