Jump to content

Recommended Posts

Posted (edited)

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
Posted (edited)

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
Posted (edited)

For other users, get the profile path from the registry.

EDIT: Valuater beat me to it.

Edited by Skruge

[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Posted

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.

Posted (edited)

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.

after a couple of years.... (almost)

I still get "stumped"

lol

8)

Edited by Valuater

NEWHeader1.png

Posted (edited)

Nor did this

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

Edit: I am an idiot.

Wrong way around :/

Edited by brodie28

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
×
×
  • Create New...