Jump to content

START WITH WINDOWS ...?


Go to solution Solved by Starstar,

Recommended Posts

  • Solution
Posted (edited)

FileCreateShortcut(@ScriptFullPath, @StartupDir &"\Indicator.lnk")

You can also use @StartupCommonDir......but in win7 or win8 @StartupDir is best because no need to run as Administrator......

Edit::

Copy and past this line in your Indicator code.....or put in to any au3 file code that you want run at windows startup {Every time you start your operating system this will automatically run your specific file(here Indicator)}.....
......Tested in win7......
Edited by Starstar

Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."

  • Moderators
Posted

Or add an entry into the registry, or run it as a service, or any one of a number of other ways. This is not an AutoIt issue you're looking to solve but a Windows issue. Try Googling "run program at startup".

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted
FileCreateShortcut(@ScriptFullPath, @StartupDir &"\Indicator.lnk")

You can also use @StartupCommonDir......but in win7 or win8 @StartupDir is best because no need to run as Administrator......

Edit::

Copy and past this line in your Indicator code.....or put in to any au3 file code that you want run at windows startup {Every time you start your operating system this will automatically run your specific file(here Indicator)}.....
......Tested in win7......

 

Thanks Alot

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...