Sign in to follow this  
Followers 0
HockeyFan

#Include Error

8 posts in this topic

I have downloaded and copied the ServiceControl.au3 file to my "C:\Program Files\AutoIt3\Include" directory but when I try to run the script I get the following error...

ERROR: can't open include file <ServiceControl.au3>

I have other include commands and they work fine.

What am I doing wrong??? <_<

Share this post


Link to post
Share on other sites



You are probably running it with AutoIt Beta?

Share this post


Link to post
Share on other sites

You are probably running it with AutoIt Beta?

SciTE Config states that I'm using Production v:3.2.8.0.

Share this post


Link to post
Share on other sites

<_<

Can anyone tell me how to get the ServiceControl functionality to work? :)

Many thanks!

Share this post


Link to post
Share on other sites

I also got the error, im running 3.2.8.1

Share this post


Link to post
Share on other sites

Open the script with Scite. Place the cursor in the include line that is causing the problem and press Alt+I or Alt+Shift+I to open Beta. Or do something like this:

If FileExists(@ProgramFilesDir & "\AutoIt3\Include\ServiceControl.au3") then 
    MsgBox(0,"","Yup, the file is there")
Else
    MsgBox(0,"","Nope, file missing")
EndIf

Share this post


Link to post
Share on other sites

:P

We all know that. He said he had downloaded it and placed it in the include folder.

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