Jump to content
Sign in to follow this  
demonsc

AutoIt at StartUp

Recommended Posts

demonsc

What is the line of code i need to make an AutoIt Program i'm making always start at startup..

I thought it would be something like this

DirCopy(@AppDataDir,@StartupDir)

Share this post


Link to post
Share on other sites
Kiesp

your welcome :)


http://www.autoitscript.com/forum/index.php?showtopic=69911 <-- Best hacker ever :D

Share this post


Link to post
Share on other sites
demonsc

Now if i want to remove from start up it would be??

DirRemove(whats the rest?)

Share this post


Link to post
Share on other sites
guozhikang

Now if i want to remove from start up it would be??

DirRemove(whats the rest?)

maybe Im new here

Share this post


Link to post
Share on other sites
qon

I'd do it this way:

RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", "MyScriptname", "REG_SZ",@Scriptfullpath)

to remove it:

Regdelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", "MyScriptname")

Share this post


Link to post
Share on other sites
GreYFoX

I'd do it this way:

RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", "MyScriptname", "REG_SZ",@Scriptfullpath)

to remove it:

Regdelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", "MyScriptname")

Pro :)

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  

×