MCT Posted November 26, 2004 Posted November 26, 2004 how can i make an entry on right click like this 1but instead of "random wallpapers" its random logonbasically, all it needs 2 do is set a random number HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","UIHost",0x00000000,%10%\Resources\LogonUI\customlogon[*].exewhere i want [*] to be a random number between 1 - 10 (number of logons i have)
SiMoNsAyS Posted November 26, 2004 Posted November 26, 2004 let me think... you can call a .cmd file that rotates the logons...copy customlogon3.exe customlogontemp.execopy customlogon2.exe customlogon3.execopy customlogon1.exe customlogon2.execopy customlogontemp.exe customlogon1.exedel customlogontemp.exei usually did something like this when i wanted to change my wall on w98 (from autoexec.bat i ran the code above). this combined with a reg entry on *.* files will do the job
MCT Posted November 26, 2004 Author Posted November 26, 2004 ya, but doing that would still give me the same logon , i would just have 2 run the script x amount of times, so it wouldnt really work, any other ideas?
bek Posted December 10, 2004 Posted December 10, 2004 One way would to make a startup script or scheduled task using the %RANDOM% variable. Since it increments between 0 and 32767 you would have to futher truncate it. then name your current file wallpaper.jpg and xcopy wallpaperne.g.set /a N=%RANDOM%set N=%N:~0,2%xcopy <path>\wallpaper%N%.jpg <path>\wallpaper.jpg /y...or insert tne variable in your reg code...REG ADD "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d %windir%\wallpaper.jpg /fat least its a start (?)
MCT Posted December 11, 2004 Author Posted December 11, 2004 u posted in the wrong thread i think, this 1 is about logonui , not wallpaper, search "random wallpaper" by me too, & a solution has been posted
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