mougom Posted February 28, 2011 Share Posted February 28, 2011 Hello i try to use autoitX3.control in VBS script Winmove function is ok but not Wingetpos Wingetpos return an error and i dont indurstand here is my simple code Set oAutoIt = WScript.CreateObject("AutoItX3.Control") dim test redim test (4) test =winGetPos("title","") => "this object dont use this method or property" oAutoIt.WinMove "title", "", 300, 200, 700, 600 => OK is anyone have a solution ? Link to comment Share on other sites More sharing options...
mougom Posted February 28, 2011 Author Share Posted February 28, 2011 i ve got the solution wingetposx /wingetposy ...... and it s done But it remain a question : is there any way to user autoitx3.control without installing entire autoit IS there a dll or else to use ?? thanks Link to comment Share on other sites More sharing options...
AngelicCare Posted December 8, 2011 Share Posted December 8, 2011 Had same problem. To autoit dll keepers: (C#) object RetVal = wa.InvokeMember("WinGetPos",BindingFlags.Default | BindingFlags.InvokeMethod, null, _AutoIT3, new object[] { WinTitle }); uint [] RetArray = (uint []) RetVal; or foreach (object element in (IEnumerable<object>)RetVal) ... plz add this method, make it work... ----AutoITX3.dll missing method WinGetPos (returns 4 parameters in array) Link to comment Share on other sites More sharing options...
AngelicCare Posted December 8, 2011 Share Posted December 8, 2011 > is there any way to user autoitx3.control without installing entire autoit It's a registrable .DLL (after regsvr32 on it - it's becoming available via both Active X and COM) 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