HockeyFan Posted November 6, 2007 Share Posted November 6, 2007 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??? Link to comment Share on other sites More sharing options...
Nahuel Posted November 6, 2007 Share Posted November 6, 2007 You are probably running it with AutoIt Beta? Link to comment Share on other sites More sharing options...
HockeyFan Posted November 6, 2007 Author Share Posted November 6, 2007 You are probably running it with AutoIt Beta?SciTE Config states that I'm using Production v:3.2.8.0. Link to comment Share on other sites More sharing options...
HockeyFan Posted November 6, 2007 Author Share Posted November 6, 2007 Can anyone tell me how to get the ServiceControl functionality to work? Many thanks! Link to comment Share on other sites More sharing options...
kjcdude Posted November 25, 2007 Share Posted November 25, 2007 I also got the error, im running 3.2.8.1 Link to comment Share on other sites More sharing options...
Nahuel Posted November 25, 2007 Share Posted November 25, 2007 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 Link to comment Share on other sites More sharing options...
kjcdude Posted November 25, 2007 Share Posted November 25, 2007 The issue was that 3.2.8.0 didn't come with ServiceControl.au3.Here is the au3 that you need to download - http://www.autoitscript.com/forum/index.ph...post&id=543 Link to comment Share on other sites More sharing options...
Nahuel Posted November 25, 2007 Share Posted November 25, 2007 We all know that. He said he had downloaded it and placed it in the include folder. 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