ChrisBarber Posted September 9, 2010 Share Posted September 9, 2010 I am a relatively new AutoIt user. I am currently using AutoIt to create a series of Console application (run from command line). is it possible to modify the Ctrl+F7 function to include the /console parameter? Thanks for any help, Chris. Link to comment Share on other sites More sharing options...
Mat Posted September 9, 2010 Share Posted September 9, 2010 Add the following line to the top of your code: #AutoIt3Wrapper_Change2CUI=y SciTE uses a wrapper (Imaginatively called AutoIt3Wrapper) that acts as a pre-compiler (and post-compiler) that will allow you to do alot more than the standard Aut2Exe. I believe that that particular directive does not require the full SciTE4AutoIt3 package, but haven't tested so can't be sure. Oh yes... And Welcome to the Forums Mat AutoIt Project Listing Link to comment Share on other sites More sharing options...
ChrisBarber Posted September 9, 2010 Author Share Posted September 9, 2010 Mat, Thanks for the tip, however, it did not work. When I click on the compile option or press Ctrl+F7 the following is displayed in the output window >"C:\Program Files\AutoIt3\SciTE\..\aut2exe\aut2exe.exe" /in "D:\My Documents\My AutoIT\webvalidate.au3" Which leads me to believe that the command is stored in a config file or something. I have looked at the Properties file and API file but neither have anything that looks likely. Thanks for the welcome, I hope to be able to post some answers here instead of just questions. Chris. Link to comment Share on other sites More sharing options...
Bert Posted September 9, 2010 Share Posted September 9, 2010 You have to look at the SciTE lexer for AutoIt. WHile in SciTE, look under options > Open .au3 properties. WARNING! You can easily mess up your installation of SciTE. Be very careful on what you are doing. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
ChrisBarber Posted September 9, 2010 Author Share Posted September 9, 2010 MPH, Thanks, I'll give it a try. Chris. Link to comment Share on other sites More sharing options...
Mat Posted September 9, 2010 Share Posted September 9, 2010 Ah right then...I recommend you install the full SciTE4AutoIt3 then, it has a lot of very good tools and you'll be able to use the above method.Editor PageDownload page (you want the top installer)It has everything you'll ever need Mat AutoIt Project Listing Link to comment Share on other sites More sharing options...
ChrisBarber Posted September 16, 2010 Author Share Posted September 16, 2010 To all: Thanks for all the help. I have it working just about the way I would like to have, even found out a few new tricks. Chris. 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