barhoumeh Posted August 3, 2013 Share Posted August 3, 2013 hello am trying to call autoit active x from lua why this piece of code works !! result = DLL.CallFunction("AutoPlayDocsAutoItX3.dll", "AU3_MouseMove", "90,0", DLL_RETURN_TYPE_LONG, DLL_CALL_CDECL); and this not result2 = DLL.CallFunction("AutoPlayDocsAutoItX3.dll", "AU3_Send", "Hello from Notepad", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL); Link to comment Share on other sites More sharing options...
jaberwacky Posted August 3, 2013 Share Posted August 3, 2013 (edited) nMOde might be default but does it still need an argument? Null string or something. Sorry, don't use AutoItx much. Oh, send returns a void and not a long. Edited August 3, 2013 by jaberwocky6669 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
barhoumeh Posted August 3, 2013 Author Share Posted August 3, 2013 Also not working but anyway i used luacom plugin with wshell send function and everything is allright thanks any way 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