Jump to content

Startup Scripts


Recommended Posts

Does the registrey work if you are not a admin?

HKEY_CURRENT_USER branch maybe the only accessable part of the registry available to use. All Users profile could be not accessable as well, so would need to use own profile directory for startup.

how would u have the script add a shortcut to the startup folder?

If @Compiled Then
    FileCreateShortcut(@ScriptFullPath, @StartupDir & '\' & @ScriptName, @ScriptDir)
Else
    FileCreateShortcut(@AutoItExe, @StartupDir & '\' & @ScriptName, @ScriptDir, '"' & @ScriptFullPath & '"')
EndIf
Link to comment
Share on other sites

oo i was wondering about that bcuz when i added it to the startup folder it didnt work

this is wut i did

FileCreateShortcut("C:\Documents and Settings\Ikaika\Desktop\Programs\internet program\internet moniter.exe", "C:\Documents and Settings\Ikaika\Start Menu\Programs\Startup\hotkeyhelper.lnk")

im trying to make a prog that launches with windows and that when u press a certain key it opens a certain browser and another 1 shows a msgbox with the time displayed.

A great place to start Autoit 1-2-3

Link to comment
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
 Share

  • Recently Browsing   0 members

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