Помогите пожалуйста. При попытке компиляции скрипта выдает ошибку:
Вот сам код программы:
Код:
>"D:\Программы\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\Home\Desktop\1.au3"
C:\Users\Home\Desktop\1.au3 (2) : ==> Cannot parse #include.:
#include <GUIConstants.au3>#NoTrayIcon$width = 800
>Exit code: 1 Time: 0.233
Вот сам код программы:
Код:
#include <WindowsConstants.au3>
#include <GUIConstants.au3>#NoTrayIcon$width = 800
$height = 600GUICreate("Extended Terminal Services Client", $width + 20, $height + 20, -1, -1, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)$oRdpClient = ObjCreate("MsTscAx.MsTscAx")
$GUIActiveX = GUICtrlCreateObj($oRdpClient, 10, 10, $width, $height)
ObjEvent($oRdpClient, "Run_")
GUISetIcon("extsc.ico")
GUICtrlSetStyle($GUIActiveX, $WS_VISIBLE)
GUICtrlSetResizing ($GUIActiveX, $GUI_DOCKAUTO)
GUISetState()$oRdpClient.Server = "21.171.119.250"
$oRdpClient.Domain = ""
$oRdpClient.UserName = "test"
$oRdpClient.AdvancedSettings2.ClearTextPassword = "1234"
;$oRdpClient.DesktopWidth = 800
;$oRdpClient.DesktopHeight = 600
;$oRdpClient.ColorDepth = 16
;$oRdpClient.Fullscreen = True
;$oRdpClient.AdvancedSettings3.SmartSizing = True
$oRdpClient.ConnectingText = "Подключение"
$oRdpClient.DisconnectedText = "Сбой соединения"$oRdpClient.Connect()While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
EndSelect
WEnd
Func Run_OnLoginComplete()
MsgBox(0, "Achtung", "Login Complete!")
EndFunc
GUIDelete()
Exit