tarretarretarre Posted July 12, 2017 Share Posted July 12, 2017 (edited) Hi again! Was is das? Das is a program to run .au3 files from anywhere. Just like php can run php files anywhere. (If you have them installed via XAMPP or similar packages) Why? For convenience sake, this allows you expand the possibilites when creating Autoit-Art just like php allows composer to autoload your dependencies. What happends when if I run the file? The script compiles itself to %appdata%\au3\au3.exe Adds %appdata%\au3 to the windows PATH envoirment variable Refreshes Windows envoirment variables (Its like logging in and out) How to install Download and run au3.au3 from anywhere. Restart any open CMD instance (That includes built-in ones like Scite and other IDE’s) Done FAQ Q: How do i run files with spaces?A: Encapsulate the name with double qoutes "". Example: au3 "my file" Q: How do i pass parameters?A: Every parameter after the <File> input are parsed as parameters, grab them in the script using $CmdLine. Example: au3 myfile param1 param2 param3 See more on how Autoit handles parameters Here Scripts (For “Advanced users”) Scripts can be used to make aliases for any command(s) you wish to run often Scripts are looked for in au3.ini under the section [scripts]. Each key represents the <Script name> and each value represents the command(s) to be ran. You can run multiple commands by separating them with the pipe-char | Example au3.ini [scripts] my-script=ping google.se|au3 run my-script my-second-script=ping yahoo.co.uk When running au3 run my-script the script will first ping google.se and then start a second script my-second-script which will run ping yahoo.co.uk. au3.au3 Edited July 12, 2017 by tarretarretarre Update script Socket-IO - An event-driven TCP UDF (Realtime chat example) AutoIt-API-WS - An expressive HTTP server you can use to build your own API with (Screenshots) Link to comment Share on other sites More sharing options...
JiBe Posted July 12, 2017 Share Posted July 12, 2017 Good idea, I'll test it. Link to comment Share on other sites More sharing options...
tarretarretarre Posted July 12, 2017 Author Share Posted July 12, 2017 Nice Btw I updated the script because it didn't create the `%appdata%\au3` dir which apperently caused problem on my second computer. So if anyone had a compile error, its resolved. Socket-IO - An event-driven TCP UDF (Realtime chat example) AutoIt-API-WS - An expressive HTTP server you can use to build your own API with (Screenshots) 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