我想在C#應用程序中使用AutoIT的COM接口來自動化遠程機器上的窗口。我的代碼如下所示:使用AutoIT自動化遠程窗口
var type = Type.GetTypeFromProgID("AutoItX3.Control", "my-remote-server", true);
var automater = (IAutoItX3) Activator.CreateInstance(type);
automater.DoStuff();
問題是automater似乎無法識別遠程計算機上的窗口。有什麼我做錯了嗎?這甚至有可能嗎?
看來AutoIt無法在當前登錄的桌面會話中找到窗口。 – 2010-09-10 15:40:59