Makforce Posted May 30, 2015 Share Posted May 30, 2015 Every day, I have to open Autoit, run script, select script, enter.....every single day...Is there a way that can do this for me automatically without me having to do anything? Link to comment Share on other sites More sharing options...
Skysnake Posted May 30, 2015 Share Posted May 30, 2015 Not sure what your problem is.Compile as an EXE, place it in the Startup folder and it will run on boot...Put a Sleep() at the top, to avoid clashing with the actual boot procedure, so when the boot is complete, your script will run.On Windows 8+ go press the Windows key+R then type shell:startup, it should open the Startup folder. argumentum 1 Skysnake Why is the snake in the sky? Link to comment Share on other sites More sharing options...
Starstar Posted May 30, 2015 Share Posted May 30, 2015 (edited) FileCreateShortcut(@ScriptFullPath, @StartupDir &"\Script.lnk") You can also use @StartupCommonDir......but in win7 or win8 @StartupDir is best because no need to run as Administrator......Copy and past this line in your Script.....or put in to any au3 file code that you want run at windows startup {Every time you start your operating system this will automatically run your specific file}...........Tested in win7...... Edited May 30, 2015 by Starstar LukeLe 1 Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
Makforce Posted May 30, 2015 Author Share Posted May 30, 2015 Thanks for the reply, figured out what Skysnake said and it worked. Thanks. 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