Total_newbie Posted May 28, 2007 Share Posted May 28, 2007 Hello gurus, I'm receiving this error message now when compiling my script "Warning: This is an Unicode compiled script and will not run on Win9x/ME". the problem is that I believe that will be using this script in Win98 or ME. any workaround? Thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted May 28, 2007 Developers Share Posted May 28, 2007 Hello gurus,I'm receiving this error message now when compiling my script "Warning: This is an Unicode compiled script and will not run on Win9x/ME".the problem is that I believe that will be using this script in Win98 or ME. any workaround?ThanksTell AutoIt3Wrapper to use the ANSI version of AUT2EXE :#AutoIt3Wrapper_UseAnsi=y ;(y/n) Use Ansi versions for AutoIt3a or AUT2EXEa. Default is n 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...
Total_newbie Posted May 28, 2007 Author Share Posted May 28, 2007 Tell AutoIt3Wrapper to use the ANSI version of AUT2EXE :#AutoIt3Wrapper_UseAnsi=y ;(y/n) Use Ansi versions for AutoIt3a or AUT2EXEa. Default is nthanks Jos. Can I change it and use for every script compilation or there is any special situation where I should remember that I've set the Wrapper to use ANSI? Link to comment Share on other sites More sharing options...
Zedna Posted May 28, 2007 Share Posted May 28, 2007 thanks Jos. Can I change it and use for every script compilation or there is any special situation where I should remember that I've set the Wrapper to use ANSI?Look at my Ansi/Unicode switcher Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Developers Jos Posted May 28, 2007 Developers Share Posted May 28, 2007 thanks Jos. Can I change it and use for every script compilation or there is any special situation where I should remember that I've set the Wrapper to use ANSI?You can set AutoIt3Wrapper defaults in the AutoIt3Wrapper.ini file located in the AutoIt3Wrapper program directory. When you are not using UNICODE files there should be no drawback. Look at my Ansi/Unicode switcherMaybe this script should be extended to set the Autoit3Wrapper defaults in the INI ? 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...
Total_newbie Posted May 29, 2007 Author Share Posted May 29, 2007 You can set AutoIt3Wrapper defaults in the AutoIt3Wrapper.ini file located in the AutoIt3Wrapper program directory. When you are not using UNICODE files there should be no drawback. Maybe this script should be extended to set the Autoit3Wrapper defaults in the INI ?Thanks Jos and Zedna for the tip. But even after changing the wrapper ini file I'm still receiving the same message when compiling my script. Is there anything else I should check?Thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted May 29, 2007 Developers Share Posted May 29, 2007 Thanks Jos and Zedna for the tip. But even after changing the wrapper ini file I'm still receiving the same message when compiling my script. Is there anything else I should check? Thanks Just tried it to make sure but when your "c:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.ini" looks like : [Autoit] aut2exe= Icon= OutfileType= Compression= PassPhrase= Allow_Decompile= UseUpx= UseAnsi=y And: - No Scriptfile.au3.ini exists, you wont get an error - No line exists in your script like: #AutoIt3Wrapper_UseAnsi=n Things work as advertised ... 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...
Total_newbie Posted May 29, 2007 Author Share Posted May 29, 2007 Just tried it to make sure but when your "c:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.ini" looks like : [Autoit] aut2exe= Icon= OutfileType= Compression= PassPhrase= Allow_Decompile= UseUpx= UseAnsi=y And: - No Scriptfile.au3.ini exists, you wont get an error - No line exists in your script like: #AutoIt3Wrapper_UseAnsi=n Things work as advertised ... Hi Jos, I think you spotted the problem. I have a scriptfile.ini which I read some config from it. I tried to create an Autoit section there with the UseAnsi info but still not working. Any other tip? thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted May 29, 2007 Developers Share Posted May 29, 2007 Hi Jos, I think you spotted the problem. I have a scriptfile.ini which I read some config from it. I tried to create an Autoit section there with the UseAnsi info but still not working. Any other tip?thanksWhat version AutoIt3Wrapper are you running ?Pleae try the Test version that is available now to see if that works correctly because i know I have fixed something with the UseAnsi settings read from INI files after the 1.9.1.0 release. 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...
Total_newbie Posted May 29, 2007 Author Share Posted May 29, 2007 What version AutoIt3Wrapper are you running ?Pleae try the Test version that is available now to see if that works correctly because i know I have fixed something with the UseAnsi settings read from INI files after the 1.9.1.0 release.I'm using version v.1.8.4 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