RealisT Posted December 2, 2007 Share Posted December 2, 2007 My AutoIt v3 scripts and executables run great on my Windows XP machine. But when I copy these files over to my WIndows 98 box (which has Autoit v3 installed), none of these scripts or executables work.Trying to run the scripts from SciTe, the console reads like this:C:\PROGRAM FILES\AUTOIT3\SCITE\..\autoit3.exe /ErrorStdOut "C:\Program Files\AutoIt3\My Scripts\Display.au3"C:\Program Files\AutoIt3\My Scripts\Display.au3 (0) : ==> Error opening the file.:>Exit Code: 1 Time: 0.897What am I overlooking?Thanks all Link to comment Share on other sites More sharing options...
Zedna Posted December 2, 2007 Share Posted December 2, 2007 Post sorce of your script. There may be lot of various problems generally. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
JustinReno Posted December 2, 2007 Share Posted December 2, 2007 (edited) Compile it with ANSI, but don't count on using it often, I think ANSI is being removed. Edited December 2, 2007 by JustinReno Link to comment Share on other sites More sharing options...
James Posted December 2, 2007 Share Posted December 2, 2007 Yeah, Jon and team are removing or at least thinking of removing 98 and below. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
RealisT Posted December 2, 2007 Author Share Posted December 2, 2007 Post sorce of your script.There may be lot of various problems generally.Whatever script I use, it is the same result. I don't think it even gets to the code-validation phase anyway.In this case, my script is one line: Beep(660, 600)For some reason the OS is not liking any AutoIt item, whether script or executable, homemade or borrowed.Thanks Link to comment Share on other sites More sharing options...
Zedna Posted December 2, 2007 Share Posted December 2, 2007 Whatever script I use, it is the same result. I don't think it even gets to the code-validation phase anyway.In this case, my script is one line: Beep(660, 600)For some reason the OS is not liking any AutoIt item, whether script or executable, homemade or borrowed.ThanksOn my WIN98SE all works OK.Post WHOLE output from your Scite output window. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
RealisT Posted December 2, 2007 Author Share Posted December 2, 2007 On my WIN98SE all works OK.Post WHOLE output from your Scite output window.The entire output is shown in my original posting. There is nothing else.Thanks Link to comment Share on other sites More sharing options...
JustinReno Posted December 2, 2007 Share Posted December 2, 2007 What is your version of AutoIt? Link to comment Share on other sites More sharing options...
RealisT Posted December 2, 2007 Author Share Posted December 2, 2007 What is your version of AutoIt?It is listed as "3, 2, 10, 0" (presumably 3.2.10.0 ?) Link to comment Share on other sites More sharing options...
JustinReno Posted December 2, 2007 Share Posted December 2, 2007 Are you sure your script is not corrupt/moved? Link to comment Share on other sites More sharing options...
RealisT Posted December 2, 2007 Author Share Posted December 2, 2007 Are you sure your script is not corrupt/moved?It was not behaving as corrupted on my XP box.Anyway, the same results apply to any script I've just created--from scratch--minutes ago on the 98.Thanks Link to comment Share on other sites More sharing options...
JustinReno Posted December 2, 2007 Share Posted December 2, 2007 Put this at the top of your script and run it and see if it works. #AutoIt3Wrapper_UseAnsi=y Link to comment Share on other sites More sharing options...
RealisT Posted December 2, 2007 Author Share Posted December 2, 2007 Put this at the top of your script and run it and see if it works.#AutoIt3Wrapper_UseAnsi=ySame result: "Error opening the file." Link to comment Share on other sites More sharing options...
JustinReno Posted December 2, 2007 Share Posted December 2, 2007 Ok, Try to put the file somewere else (Your home drive (C:\?)) and run it with that code at the top. Link to comment Share on other sites More sharing options...
James Posted December 2, 2007 Share Posted December 2, 2007 Try compiling it. Are you running it on a Virtual Machine? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
RealisT Posted December 2, 2007 Author Share Posted December 2, 2007 Ok,Try to put the file somewere else (Your home drive (C:\?)) and run it with that code at the top.(All of this is taking place from C:\)Moving the script to my desktop and trying, I get the same result. Link to comment Share on other sites More sharing options...
RealisT Posted December 2, 2007 Author Share Posted December 2, 2007 Try compiling it. Are you running it on a Virtual Machine?I am not on a virtual machine.After compiling it and trying to open the .exe, nothing happens.(I also added a MsgBox command just in case the computer can't beep). Link to comment Share on other sites More sharing options...
Developers Jos Posted December 2, 2007 Developers Share Posted December 2, 2007 (edited) The problem is the following: You are using the standard "lite" version of SciTE4AutoIt3, that comes with the AutoIt3 installer, which uses this setting for F5/Run: # Commands to compile / run your script command.go.$(file.patterns.au3)="$(SciteDefaultHome)\..\autoit3.exe" /ErrorStdOut "$(FilePath)" $(1) $(2) $(3) $(4) command.go.subsystem.$(file.patterns.au3)=1 command.compile.$(file.patterns.au3)="$(SciteDefaultHome)\..\aut2exe\aut2exe.exe" /in "$(FilePath)" command.build.$(file.patterns.au3)="$(SciteDefaultHome)\..\aut2exe\aut2exe.exe" /in "$(FilePath)" Win98 needs to run AutoIt3A.exe so go into SciTE and select Options / Edit User options file and put these lines in there: # Commands to compile / run your script command.go.$(file.patterns.au3)="$(SciteDefaultHome)\..\autoit3A.exe" /ErrorStdOut "$(FilePath)" $(1) $(2) $(3) $(4) command.go.subsystem.$(file.patterns.au3)=1 command.compile.$(file.patterns.au3)="$(SciteDefaultHome)\..\aut2exe\aut2exeA.exe" /in "$(FilePath)" command.build.$(file.patterns.au3)="$(SciteDefaultHome)\..\aut2exe\aut2exeA.exe" /in "$(FilePath)" This will override the internal settings and should fix your Win9X problem... @others: AutoIt3Wrapper, which automagiccally handles everything doesn't come with the Lite version. Its easy to see that the OP uses the lite version when looking at the posted line form the output pane. This also means that the suggested directives won't do anything for the OP. how quick you get used to the fact that all is done for you by autoit3wrapper.. Edited December 2, 2007 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...
RealisT Posted December 2, 2007 Author Share Posted December 2, 2007 The problem is the following:You are using the standard "lite" version of SciTE4AutoIt3, that comes with the AutoIt3 installer, which uses this setting for F5/Run:<<CODE HERE>>Win98 needs to run AutoIt3A.exe so go into SciTE and select Options / Edit User options file and put these lines in there:<<CODE HERE>>This will override the internal settings and should fix your Win9X problem... @others: AutoIt3Wrapper, which automagiccally handles everything doesn't come with the Lite version. Its easy to see that the OP uses the lite version when looking at the posted line form the output pane. This also means that the suggested directives won't do anything for the OP.how quick you get used to the fact that all is done for you by autoit3wrapper.. I keyed this code in, and the executable runs OK in Win 98!I still can't run any uncompiled AutoIt v3 scripts out of Scite, however. I also can't run an executable containing a GUI.I noticed that SciTe has no Open au3.Properties option...something which exists & is quite verbose on my XP box. Would this be provided by AutoIt3Wrapper, or do I simply have an incomplete install?Thanks Link to comment Share on other sites More sharing options...
James Posted December 2, 2007 Share Posted December 2, 2007 Download the full package, it makes life alot easier Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ 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