BrettF Posted January 6, 2007 Share Posted January 6, 2007 How can i create a program that will create a script, using inputs, and then compiles it into an exe. Would i just make it type the whole script and then use aut2exe to compile it or is there an easier way?? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
BALA Posted January 6, 2007 Share Posted January 6, 2007 (edited) Well one way would be to send the code to a text file, saving it as ".au3" and using a console window to compile using Aut2Exe Edited January 6, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
BrettF Posted January 8, 2007 Author Share Posted January 8, 2007 Well one way would be to send the code to a text file, saving it as ".au3" and using a console window to compile using Aut2ExeIs there an easier way rather than 1 line at a time?? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Stumpii Posted January 8, 2007 Share Posted January 8, 2007 Is there an easier way rather than 1 line at a time??FileInstall maybe. “Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.”AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity. Link to comment Share on other sites More sharing options...
AzKay Posted January 8, 2007 Share Posted January 8, 2007 Well one way would be to send the code to a text file, saving it as ".au3" and using a console window to compile using Aut2ExeA "console window" Is not needed. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
herewasplato Posted January 8, 2007 Share Posted January 8, 2007 (edited) http://www.autoitscript.com/forum/index.ph...showtopic=22531 shows making an au3 via another script. It does not happen to use inputs from the user, but that should not be that hard to add. You could use FileInstall to place most of the au3 on the hard drive and then StringReplace to change only those lines that you want. Edited January 8, 2007 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
BrettF Posted January 8, 2007 Author Share Posted January 8, 2007 http://www.autoitscript.com/forum/index.ph...showtopic=22531 shows making an au3 via another script. It does not happen to use inputs from the user, but that should not be that hard to add. You could use FileInstall to place most of the au3 on the hard drive and then StringReplace to change only those lines that you want.I couldnt make head or tail of that. are you sure it's the right topic?? With the title "Move MsgBox (/AutoIt3ExecuteScript), Random Move MsgBox" it dosnt sound right?? could you point me where in the topic it is?? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
herewasplato Posted January 9, 2007 Share Posted January 9, 2007 I couldnt make head or tail of that. are you sure it's the right topic?? With the title "Move MsgBox (/AutoIt3ExecuteScript), Random Move MsgBox" it dosnt sound right?? could you point me where in the topic it is??Yes, that is the link that I meant to send you to. It shows how to have one script write another script.Not shown in that link is how to compile it from within the main script - but that is easy.Maybe I do not understand your question. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
BrettF Posted January 10, 2007 Author Share Posted January 10, 2007 On closer closer inspection, it dose acutually do that. :"> Thanks. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
herewasplato Posted January 10, 2007 Share Posted January 10, 2007 On closer closer inspection, it dose acutually do that. '> Thanks.Depending on how many things you have to change, lauching a script from within a script and using the command line options to pass the variables into the child script might also work for you. [size="1"][font="Arial"].[u].[/u][/font][/size] 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