abberration Posted May 6, 2023 Share Posted May 6, 2023 Hi, everyone! I am able to compile from command line and got everything to work except specifying the language. I understand the wrapper uses a 4 digit number for the languages and tried that. However, nothing worked and I do not think there is a switch for specifying the language at all. Is this correct? I also tried writing wrappers to the header and they compile fine if I do so manually, but compiling from command line ignores the wrappers. Is there any way to compile from command line and use the wrappers? I also noticed that "compile with options" does not use Aut2exe, rather it uses AutoIt3.exe (or at least this disappears in task manager when I close the window). Could I possibly pass arguments to it compile? I tried some things, but just get errors. Any insight into this would be appreciated. Thanks! Easy MP3 | Software Installer | Password Manager Link to comment Share on other sites More sharing options...
ioa747 Posted May 6, 2023 Share Posted May 6, 2023 (edited) ctrl + F7 in the tab Resource Update edit: look at @OSLang on your help file, for Country code put on top of your script #AutoIt3Wrapper_Res_Language=1033 for English Default AutoIt3Wrapper options can be set in AutoIt3Wrapper.ini which is stored in the %LOCALAPPDATA%\AutoIt v3\SciTE\AutoIt3Wrapper folder for the Installer version and ...\AutoIt3\SciTE\AutoIt3Wrapper folder for the portable version. There is an example ini file in the folder to serve as a template: ' This INI sets the Defaults for AutoIt3Wrapper which can be overridden by the Compiler Directives ' Use 1/y for Yes and 0/n for No on options like Run_AU3Check ' See documentation for an explanation on purpose of the fields and their values Edited May 6, 2023 by ioa747 I know that I know nothing Link to comment Share on other sites More sharing options...
argumentum Posted May 6, 2023 Share Posted May 6, 2023 2 hours ago, abberration said: I understand the wrapper uses a 4 digit number for the languages and tried that. However, nothing worked and I do not think there is a switch for specifying the language at all. Is this correct? I also tried writing wrappers to the header and they compile fine if I do so manually, but compiling from command line ignores the wrappers. Is there any way to compile from command line and use the wrappers? I also noticed that "compile with options" does not use Aut2exe, rather it uses AutoIt3.exe (or at least this disappears in task manager when I close the window). Could I possibly pass arguments to it compile? I tried some things, but just get errors. Any insight into this would be appreciated. Thanks! > I also noticed that "compile with options" does not use Aut2exe, rather it uses AutoIt3.exe With AutoIt3.exe it calls AutoIt3Wrapper.au3, so try adding the column "Command line" to the task manager to see that. Or open the registry and read the entry for the option. AutoIt3Wrapper.au3 does some fancy stuff. Read it, study it, and write/rewrite anything you feel you need to the wrapper. abberration 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Solution abberration Posted May 6, 2023 Author Solution Share Posted May 6, 2023 Thanks, argumentum! AutoIt3Wrapper.au3 compiles it silently and uses the wrappers. Perfect solution. All I need is to shellexecute it and run the specify the script. Easy MP3 | Software Installer | Password Manager Link to comment Share on other sites More sharing options...
abberration Posted May 6, 2023 Author Share Posted May 6, 2023 I meant to mark argumentum's post as the solution. He's the hero today! bundyal and argumentum 2 Easy MP3 | Software Installer | Password Manager 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