2012/10/26

autoit file setup to startup folder

;example
 
#include '_Startup.au3'
 
Example()
 
Func Example()
    _StartupFolder_Install() ; Add the running EXE to the Current Users startup folder.
    ShellExecute(@StartupDir & '\')
    Sleep(50000)
    _StartupFolder_Uninstall() ; Remove the running EXE from the Current Users startup folder.
EndFunc   ;==>Example

沒有留言:

張貼留言