DavB Posted January 7, 2012 Share Posted January 7, 2012 Hi there,I just downloaded and installed AutoIt (X86 Version) on my windows 7 system, opened a good script developed on my XP system, did >tools>go and received the following error:>C:\program files\autoit3\autoit3.exe "C:\Users\Dave\Desktop\Login.au3"'C:\program' is not recognized as an internal or external command,operable program or batch file.>Exit code: 1 Time: 0.667I searched the forum archive and got a hit on this error (for SciTE3), which said something about putting double quotes around #AutoIt3Wrapper_Run_Before= " " (search on #AutoIt3Wrapper_Run_Before Problems?!? in general help if you want to see it)Does this still apply to SciTE4? Would it fix my problem? And, if so, would someone be kind enough to step by step me through this?Thanks,Dave Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted January 7, 2012 Share Posted January 7, 2012 Hi and Welcome to the forums!!You should install SciTE4AutoIt3, it doesn't have this problem. Also, it's a superior editor. Brings lots of tools and goodies. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
DavB Posted January 7, 2012 Author Share Posted January 7, 2012 I did have SciTE4 installed. I suppose I could re-install it, but I think you assumed I had SciTE3 installed (my reference to SciTE3 was to indicate that the 2007 post I refered to was regarding SciTE3). Thanks, Dave Link to comment Share on other sites More sharing options...
Developers Jos Posted January 7, 2012 Developers Share Posted January 7, 2012 Just reinstall the latest SciTE4AutoIt3 installer to fix this issue. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
DavB Posted January 7, 2012 Author Share Posted January 7, 2012 Upon further investigation I see I had the Lite version installed. I updated to the version found here http://www.autoitscript.com/site/autoit-script-editor/downloads/ and it works! Thanks so much!Dave Link to comment Share on other sites More sharing options...
burnell Posted January 7, 2012 Share Posted January 7, 2012 (edited) Extras - SciTe-Config - Generell Settings - AutoIt3 Directory settings:change the path there.Edith said: just seconds to late ... Edited January 7, 2012 by burnell Link to comment Share on other sites More sharing options...
Developers Jos Posted January 7, 2012 Developers Share Posted January 7, 2012 Extras - SciTe-Config - Generell Settings - AutoIt3 Directory settings:change the path there.Edith said: just seconds to late ...That PAth setting is for extra personal include directories. It wouldn't have worked as I knew the OP was running the SciTE-Lite that comes with the current AutoIt3 installer. I have changed/fixedd that for the next release.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
jer Posted January 22, 2012 Share Posted January 22, 2012 Just reinstall the latest SciTE4AutoIt3 installer to fix this issue.JosJos, Autoit v3061 and sciTE-lite compiled fine if Autoit was inistalled on a drive other then C (e.g. D:program filesautoit3). However, Autoit v3080 and sciTE-lite generate an error because I believe that sciTE is looking for aut2exe.exe on the C drive. However, it is actually on the D drive (D:program filesautoit3aut2exeaut2exe.exe). I ran SciteConfig.exe and it shows the correct path on the D: drive for aut2exe.exe. Is there another place I should be looking for the C:program files reference? Error below. >C:program filesautoit3aut2exeaut2exe.exe /in "G:AU3Testtest92.au3"'C:program' is not recognized as an internal or external command,operable program or batch file.>Exit code: 1 Time: 0.564 Link to comment Share on other sites More sharing options...
guinness Posted January 22, 2012 Share Posted January 22, 2012 Jos is aware, he also provided a solution >> UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted January 22, 2012 Share Posted January 22, 2012 Is there another place I should be looking for the C:program files reference? Error below.No there isn't. As has been written many times over the last few weeks (including this and the other thread you was linked to) you need to install SciTE4AutoIt3 as that doesn't have this problem.The lite version has been fixed but there's no knowing when the next version of AutoIt is released. Besides, you would want SciTE4AutoIt3 in any case, the improvements are massive. Just try it, you will never use the lite version again. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Developers Jos Posted January 22, 2012 Developers Share Posted January 22, 2012 I have made the new scite lite available when you prefer to just use that. http://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/SciTE-Lite/SciTE.exe SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
jer Posted January 22, 2012 Share Posted January 22, 2012 I have made the new scite lite available when you prefer to just use that.http://www.autoitscript.com/autoit3/scit.../beta_SciTE4AutoIt3/SciTE-LiteThanks Jos. That worked. Link to comment Share on other sites More sharing options...
jer Posted January 22, 2012 Share Posted January 22, 2012 No there isn't. As has been written many times over the last few weeks (including this and the other thread you was linked to) you need to install SciTE4AutoIt3 as that doesn't have this problem.The lite version has been fixed but there's no knowing when the next version of AutoIt is released. Besides, you would want SciTE4AutoIt3 in any case, the improvements are massive. Just try it, you will never use the lite version again.Thanks for the info. Jos's fix (http://www.autoitscript.com/autoit3/scit.../beta_SciTE4AutoIt3/SciTE-Lite) to the lite version corrected the issue and works as it did in previous versions. My issue with installing SciTE4AutoIt3 is that it forces sciTE to be installed in C:program files, which is not reasonable. All my application are installed in D:program files. Software should be smart enough to be able to handle different installation locations even if it means an extra config file. Link to comment Share on other sites More sharing options...
Developers Jos Posted January 22, 2012 Developers Share Posted January 22, 2012 (edited) My issue with installing SciTE4AutoIt3 is that it forces sciTE to be installed in C:program files, which is not reasonable. All my application are installed in D:program files. Software should be smart enough to be able to handle different installation locations even if it means an extra config file.Are you sure about that?As far as I know I have the SciTE4AutoIT3 installer retrieve the AutoIt3 installdir from the Registry and make SciTE a subdir of the found directory. Edited January 22, 2012 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
jer Posted January 22, 2012 Share Posted January 22, 2012 Are you sure about that?As far as I know I have the SciTE4AutoIT3 installer retrieve the AutoIt3 installdir from the Registry and make SciTE a subdir of the found directory.If the zip files are used to manually install (copy) AutoIT and SciTE, the registry will not be updated. If the registry is not updated, the SciTE installer will not even run. Link to comment Share on other sites More sharing options...
Developers Jos Posted January 22, 2012 Developers Share Posted January 22, 2012 (edited) If the zip files are used to manually install (copy) AutoIT and SciTE, the registry will not be updated. If the registry is not updated, the SciTE installer will not even run.When you use the ZIP file for AutoIt3 you should also use the ZIP file for ScITE4AutoIt3 and you are supposed to understand what you are doing. When you use the latest ZIP version, my guess is it will work fine as long as you install it as a subdirectory called SciTE in the AutoIt3 program directory. Edited January 22, 2012 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
guinness Posted January 22, 2012 Share Posted January 22, 2012 ...you are supposed to understand what you are doing.I quite agree. If you want to make it Portable then have a look at the UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 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