Sign in to follow this  
Followers 0
kuhasu

Can I run Autoit.exe as a service?

7 posts in this topic

#1 ·  Posted (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 by kuhasu

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Can you Run an Au3 binary as a service?

#577218

Can it be used in the manner that you are asking? (as a registered server of some sort)

No

The Au3 interpreter is super fast, considering what it must undertake at runtime.

Why is it slow for you?

Edited by Mobius

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Can it be used in the manner that you are asking? (as a registered server of some sort)

No

As an ActiveX / COM (dll) is actually what above line implies.

answer is still Nope.

Edited by Mobius

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Got it,guys.

Thank you very much.

I hope there will be a better solution or an improved autoitX.

Thanks again!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0