SniperSA Posted April 16, 2007 Share Posted April 16, 2007 Having a script run at startup? How can I include that in my script? Link to comment Share on other sites More sharing options...
Generator Posted April 16, 2007 Share 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 Link to comment Share on other sites More sharing options...
SniperSA Posted April 16, 2007 Author Share Posted April 16, 2007 could i make like a key that would add to someone's registry if they ran the script Link to comment Share on other sites More sharing options...
Achilles Posted April 16, 2007 Share 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] Link to comment Share on other sites More sharing options...
SniperSA Posted April 16, 2007 Author Share 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 Link to comment Share on other sites More sharing options...
therks Posted April 16, 2007 Share Posted April 16, 2007 (edited) FileExists. Edited April 16, 2007 by Saunders My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
SniperSA Posted April 16, 2007 Author Share 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. Link to comment Share on other sites More sharing options...
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