Hi there,
AutoIt open and edit text file gives me this error. I use the correct parameters and numbers and it seems like I did something wrong which I cannot figure it out. Any solution ? Can any of you experts tell me what I did wrong ?
Thanks !
Autolt Error
Line 17 (File “C:Documents and SettingsAdministratorDesktopa.au3”):
FileWrite($hFile, stringmid($sAll, $iRemoveChars+1))
FileWrite($hFile, ERROR
Error: Incorrect number of parameters in function call.
Auto It error opening extension au3
I guess there is something wrong with your script file. Although AU3 files can be executed using AutoIt, the script itself should be functional. It should not contain any errors when it is executed by AutoIt. If you created “a.au3” then you should check the file, since AU3 files can be opened using a normal text editor, and check the line indicated in the dialog box.
Your AU3 script will not work if it contains errors that need to be fixed. If you are using an old version of AutoIt, you probably want to upgrade to the latest version. Download and install AutoIt 3.3.12.0. It requires Windows XP, Windows Vista, Windows 7, and Windows 8. For servers, it requires Windows Server 2003, Windows Server 2008, and Windows Server 2008 R2.