[GUIDA] autoit, by Fraev

« Older   Newer »
  Share  
Gianlu-thebest
CAT_IMG Posted on 5/6/2010, 15:13 by: Gianlu-thebest     +1   -1




CITAZIONE (france17 @ 5/6/2010, 15:53)
non ho capito una cosa quando mi parli delle funzioni reg per scrivere le chiavi nel registro di sistema per automatizzare l'avvio dei processi che si desiderano.

ad esempio

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "Shutdown" , "REG_SZ", @WindowsDir & "System32\RUNDLL32.EXE user.exe,exitwindows" )

con questa stringa il pc si spegne automaticamente.


con questa

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "task manager" , "REG_SZ", taskmgr.exe" )

dovrebbe avviare il task manager ad ogni avvio? ditemi dove sbaglio

ti funziona?
 
Top
94 replies since 24/2/2008, 11:09   44892 views
  Share