SniperSA Posted April 16, 2007 Posted April 16, 2007 Having a script run at startup? How can I include that in my script?
Generator Posted April 16, 2007 Posted April 16, 2007 You can't include that. But you can do that by editing the registery. Under: \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
SniperSA Posted April 16, 2007 Author Posted April 16, 2007 could i make like a key that would add to someone's registry if they ran the script
Achilles Posted April 16, 2007 Posted April 16, 2007 could i make like a key that would add to someone's registry if they ran the scriptyou could... something like: RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "Script name", "REG_SZ", "{your script dir}") ;Untested! My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
SniperSA Posted April 16, 2007 Author Posted April 16, 2007 (edited) that untested method works amazing. now, that i have that, how can i make the script check it's in the C:\Script.au3 directory Edited April 16, 2007 by SniperSA
therks Posted April 16, 2007 Posted April 16, 2007 (edited) FileExists. Edited April 16, 2007 by Saunders My AutoIt Stuff | My Github
SniperSA Posted April 16, 2007 Author Posted April 16, 2007 Thanks, it's just I know the quick in's and out's of au3 but some more advanced things like this I am trying to learn.
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