travick Posted September 3, 2018 Share Posted September 3, 2018 Hi, Currently on win 10 X64 and tried to COM/DLL versions of AutoItX3.dll old: 3.3.14.2 and update to latest 3.3.14.5 I'm testing with JScript and all other methods seem to work Test Code var oAutoIt = WScript.CreateObject("AutoItX3.Control"); var hh = oAutoIt.WinActivate("Untitled - Notepad"); // => WORKS // var hh = oAutoIt.WinWaitActive("Untitled - Notepad", "", 10); // Timeout = 10 secs => WORKS // oAutoIt.WinGetPos(hh, ""); // Error: Object doesn't support property or method // oAutoIt.WinGetPos(hh); // Error: Object doesn't support property or method // var wsz = oAutoIt.WinGetPos(hh, ""); // Error: Object doesn't support property or method // var wsz = oAutoIt.WinGetPos(hh); // Error: Object doesn't support property or method // WScript.Echo("WinGetPos " + wsz[0] + " " + wsz[1] + " " + wsz[2] + " " + wsz[3]); oAutoIt.WinMove(hh, "", 550, 350); // => WORKS oAutoIt.WinClose(hh); // => WORKS WshShell.SendKeys("n"); // => WORKS // Just commented out the various lines to test each one but none work for WinGetPos() Any suggestions? Link to comment Share on other sites More sharing options...
travick Posted September 4, 2018 Author Share Posted September 4, 2018 (edited) I check on a different PC and same results. The WinGetPos() function doesn't exist while the rest work fine. Edited September 4, 2018 by travick Link to comment Share on other sites More sharing options...
supersonic Posted October 4, 2018 Share Posted October 4, 2018 Same here on my W10 1803 - maybe you like to open a ticket? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now