kuhasu Posted September 4, 2009 Share Posted September 4, 2009 (edited) Is there any way can let autoit.exe always runs in the PC as a procedure like a service? Then I don't need to recall autoit.exe again and again when running .au3 files. It can save me a lot of time in calling autoit.exe. TIA Edited September 4, 2009 by kuhasu Link to comment Share on other sites More sharing options...
Mobius Posted September 4, 2009 Share Posted September 4, 2009 (edited) Can you Run an Au3 binary as a service?#577218Can it be used in the manner that you are asking? (as a registered server of some sort)NoThe Au3 interpreter is super fast, considering what it must undertake at runtime.Why is it slow for you? Edited September 4, 2009 by Mobius Link to comment Share on other sites More sharing options...
kuhasu Posted September 5, 2009 Author Share Posted September 5, 2009 Am afraid not that .... Actually more like the way of AutoitX,or a dll The .au files will be modified automatically before running every time,so I wanna autoit.exe can stay in RAM ,then I can save the time to call autoit.exe when the .au files are submitted. Thank you. Link to comment Share on other sites More sharing options...
Mobius Posted September 5, 2009 Share Posted September 5, 2009 (edited) Can it be used in the manner that you are asking? (as a registered server of some sort)NoAs an ActiveX / COM (dll) is actually what above line implies.answer is still Nope. Edited September 5, 2009 by Mobius Link to comment Share on other sites More sharing options...
Richard Robertson Posted September 5, 2009 Share Posted September 5, 2009 There wouldn't be much improvement over doing it the way you are suggesting. When the "service" begins to idle, it would have to start back up just the same as running a new process. Link to comment Share on other sites More sharing options...
Mobius Posted September 5, 2009 Share Posted September 5, 2009 Not only that, it would still have to Invoke another instance of the interpreter to execute the au3 file any way. either way a pointless procedure with little or no gain, and not what the op originally asked anyway. Link to comment Share on other sites More sharing options...
kuhasu Posted September 5, 2009 Author Share Posted September 5, 2009 Got it,guys. Thank you very much. I hope there will be a better solution or an improved autoitX. Thanks again! 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