thanks
Page 1 of 1
how is a theme "called"
#1
Posted 21 December 2004 - 11:52 PM
when u select a them manually & apply it, it instantly changes, how can i do this unattended ? not neccessarly threw an unattended setup of windows, but maybe threw a batch file run on user logon or something 
thanks
thanks
#2
Posted 22 December 2004 - 02:22 AM
MCT
Your question has me ;-) I don't know the answer, but would like to know it too
I was messing with desk.cpl, but could figure out how to launch the theme. This page has a reference on Control Panel applets. It even has a command for installing the screensaver
I know regional settings can be set from
Your question has me ;-) I don't know the answer, but would like to know it too
rundll32.exe desk.cpl,InstallScreenSaver "File"I tried to use a similar command with InstallTheme (just off the top of my head), but no go ;-)
I know regional settings can be set from
rundll32.exe shell32,Control_RunDLL intl.cpl,,/f:"c:\regopts.txt", but I don't know where to find the info on the switches either.
#3
Posted 22 December 2004 - 04:25 AM
Add That In Winnt.sif
I have That As My Last Entry The Theme Must Be There In That Location
For It To Work.
To Get It There I Have Made A Winrar.exe That Runs From
cmdlines.txt
Which Runs This Batch File
[Shell] CustomDefaultThemeFile=%systemdrive%\WINDOWS\Resources\Themes\MCBlue2.theme
I have That As My Last Entry The Theme Must Be There In That Location
For It To Work.
To Get It There I Have Made A Winrar.exe That Runs From
cmdlines.txt
[COMMANDS] "REGEDIT /S 000.reg" "REGEDIT /S 020.reg" "REGEDIT /S 040.reg" "REGEDIT /S 060.reg" "REGEDIT /S 080.reg" "Theme.cmd" "RunOnceEx.cmd"
Which Runs This Batch File
mode con: Cols=37 Lines=6 color 4f echo. echo Adding The Custom Themes echo. echo GsmGrey MCBlue2 Royale echo. start /w Themes.exe
#4
Posted 22 December 2004 - 04:32 AM
i know how 2 do it from winnt.sif but im wondering how to "Call" it
#5
Posted 22 December 2004 - 08:06 AM
This is a command that I got with 2 minutes of searching Google
(I didn't test it though):
Edit: nevermind, this is the same command that runs when you double-click a theme-file, so it still opens the Display Properties. The topic I found it in talks about using an AutoIt/VBS script to send keys to the window, so you can let it press OK.
rundll32.exe shell32.dll,Control_RunDLL desk.cpl desk,@Themes /Action:OpenTheme /File:"<theme file>"
Edit: nevermind, this is the same command that runs when you double-click a theme-file, so it still opens the Display Properties. The topic I found it in talks about using an AutoIt/VBS script to send keys to the window, so you can let it press OK.
#6
Posted 22 December 2004 - 08:57 AM
Can you not just use change the registry key in a cmd script, and perhaps killing explorer.exe and then restarting it again.
try this key:
Obviously changing the .Theme file name to suit
try this key:
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\ThemeManager /v DllName /t REG_EXPAND_SZ /d "%SystemRoot%\Resources\Themes\ForeverBlue.Theme" /f
Obviously changing the .Theme file name to suit
#7
Posted 22 December 2004 - 09:06 AM
@Tsunami
thx for the effort
@Yzöwl
Didnt work
there has to be a way cuz there are different things out there that run a command & apply the theme instantly
lol
thx for the effort
@Yzöwl
Didnt work
there has to be a way cuz there are different things out there that run a command & apply the theme instantly
- ← Install slows to a Crawl.............textmode
- Unattended Windows 2000/XP/2003
- DiskInternals Flash Recovery 1.0 →
Share this topic:
Page 1 of 1



Help

Back to top









