Sign in to follow this  
Followers 0
thenewkid

Auto run

5 posts in this topic

Hi

how can i make my .exe run when the system starts up

?


some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with

Share this post


Link to post
Share on other sites



wheres that?


some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with

Share this post


Link to post
Share on other sites

put this at the top of your script

If Not FileExists (@StartupDir&"\"&StringReplace(@ScriptName,".au3","")&".lnk") Then FileCreateShortcut (@ScriptFullPath, @StartupDir&"\"&StringReplace(@ScriptName,".au3","")&".lnk")

its just one line, but after running it once manually, it will always start on startup.


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0