Jump to content
Sign in to follow this  
brodie28

Having a script run when only a particular user logs on

Recommended Posts

I have never had a script run at start up before, so I was hoping someone could point me in the right direction. I couldn't find anything on it in the help file.

It needs to run when only a certain user logs onto windows. (automaticly).

It probably has something to do with the @UserName macro?

Edit: The @username macro doesn seem to return what I want it to anyway.

Edited by brodie28

Share this post


Link to post
Share on other sites

So just have the script copy itself into that folder?

Edit: I'm not even sure how I would get the script to copt itself...

Edited by brodie28

Share this post


Link to post
Share on other sites

Thanks alot.

There's so much to autoit, it is funny how you can be using it for weeks and get stumped on sokmething simple you have never had to do before.

Share this post


Link to post
Share on other sites

Nor did this

FileCreateShortcut ( @StartupDir & "\UA.exe", @AutoItExe)

Edit: I am an idiot.

Wrong way around :/

Edited by brodie28

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  

×
×
  • Create New...