igotandrew Posted December 29, 2008 Share Posted December 29, 2008 I'm sure that there is something like this out there, that runs autoit. Basically, autoit loads & executes all of the coding in a text file. I searched: 'running text file script", if this was searched before, or and other keywords I should search let me know. -- Basically I want to be able to have code in a text file (that uses autoit syntax), and an autoit program executes everything on that text file. So... Sleep(1000) Msgbox(0, 0, 0) that's in the text file, and the program (when executed) Sleeps for 1000ms Then msgboxs no flag, 0 as title, 0 as message. Link to comment Share on other sites More sharing options...
Richard Robertson Posted December 29, 2008 Share Posted December 29, 2008 There are a number of parser scripts. I can't recommend you to any as I haven't used them but they are floating around. The better solution, if possible, is to call the AutoIt executable with /au3executescript. Link to comment Share on other sites More sharing options...
BrettF Posted December 29, 2008 Share Posted December 29, 2008 (edited) I like Richard's solution. You could also look at using Execute() Cheers, Brett EDIT: woops. Execute, not Call! Edited December 29, 2008 by BrettF 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...
igotandrew Posted December 29, 2008 Author Share Posted December 29, 2008 (edited) There are a number of parser scripts. I can't recommend you to any as I haven't used them but they are floating around.The better solution, if possible, is to call the AutoIt executable with /au3executescript.How would I go upon doing that, I didn't find anything in the help file concerning /au3executescript...After searching and looking through 11 pages or so, I've only seen like html,php,other parsers (which parsed like personal information?)I want to be able to write autoit code in a text fie and have it executed, so I guess _FileReadToArray & Execute seem like my best shot. Edited December 29, 2008 by igotandrew Link to comment Share on other sites More sharing options...
BrettF Posted December 29, 2008 Share Posted December 29, 2008 Try looking for Command Line Parameters. 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...
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