0

我有以下 AutoIt 脚本:

Run("Notepad.exe", @WindowsDir, @SW_MAXIMIZE)
Sleep(1000)
Send("Just a test")
$anPos = WinGetClientSize("")
$nLeft = 0
$nTop = 0
$nRight = $anPos[0]
$nBottom = $anPos[1]
$sFileName = "test.jpg"
DllCall("captdll.dll", "int:cdecl", "CaptureScreen", "str", $sFileName, "int", 85)

该脚本似乎运行正常,但我无法在任何地方找到 test.jpg 文件。我究竟做错了什么?

4

1 回答 1

1

没有正确安装 captdll,这就是问题所在。

于 2012-05-08T15:03:00.827 回答