MSFN Forum: New utility to silently apply any theme! - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

New utility to silently apply any theme! tired of 'tehniques' to do this Rate Topic: -----

#1 User is offline   milika 

  • Group: Members
  • Posts: 3
  • Joined: 13-May 05

Posted 18 May 2005 - 10:05 PM

Hi, i am a long time reader, no poster, sorry...
but now ill try to make it up...

So...
I had no way of applying various themes
on my windows instalations, and some themes
just got corrupted from winnt.sif to the real installation.
I suspect my regtweaks but...

So i made this utility to painlessly and easily
apply any installed themes....

U will need to copy it to ur $$\System32 and
then do something like this
Applytheme THEMENAME
ex.
applytheme luna
applytheme royal

Just put in your RunOnceEx or cleanup.cmd or whatever...
Off course u will need the themes installed prior to usage...
u know the $$\resources\themes dir....

hope u like this small util...

ApplyTheme

bye...


#2 User is offline   willsion 

  • Group: Members
  • Posts: 3
  • Joined: 18-May 05

Posted 18 May 2005 - 10:44 PM

Try.Thanks.

#3 User is offline   nexgolai 

  • Group: Members
  • Posts: 3
  • Joined: 04-May 05

Posted 19 May 2005 - 12:42 PM

Does it support colour settings in the theme, such as "Metallic" (Silver) in luna?

#4 User is offline   Mike_Wilson 

  • programmer
  • PipPip
  • Group: Members
  • Posts: 142
  • Joined: 24-July 03

Posted 19 May 2005 - 12:49 PM

Does it support colour settings in the theme, such as "Metallic" (Silver) in luna?

it doesnt look like it, it works by just applying the theme file with a command line

Applytheme Royale

theme file must be in the Resources\Themes folder.

You can set the theme to use Metallic though by editing the .theme file. You could edit it and install it using the $OEM$ style copying.

In the theme file there is a section
[VisualStyles]
Path=%ResourceDir%\Themes\luna\luna.msstyles
ColorStyle=NormalColor
Size=NormalSize


If you change the

ColorStyle=NormalColor 
to 
ColorStyle=Metallic


then it will use the Metallic colour settings.

Hope this helps

#5 User is offline   milika 

  • Group: Members
  • Posts: 3
  • Joined: 13-May 05

Posted 19 May 2005 - 07:45 PM

You said it all.. :)

thanks

#6 User is offline   Ben.Hahlen 

  • Member
  • PipPip
  • Group: Members
  • Posts: 112
  • Joined: 22-February 04

Posted 04 June 2005 - 04:33 PM

Sorry to kick an old topic, but I have a question.
Does this utility also work from RunOnceEx?
Because when I run it, it changes the theme of the RunOnceEx window, but after the restart, the theme is back to normal again...
Am I doing something wrong?

#7 User is offline   Ben.Hahlen 

  • Member
  • PipPip
  • Group: Members
  • Posts: 112
  • Joined: 22-February 04

Posted 05 June 2005 - 03:01 PM

Apparantly, it does work when you run it during a "second" RunOnceEx installer. IE: if you reboot after everything has installed, but then you have set the applytheme in a RunOnceEx entry, it works without problem.
Does anyone know why this is?
If need be, I can post my winnt.sif and other files.

#8 User is offline   dwit 

  • Dwit
  • Group: Members
  • Posts: 30
  • Joined: 31-October 04

Posted 05 June 2005 - 03:17 PM

Hey ya'll, i'm a bit confused as to what exactly this program does. From reading the first post from Milika it simply bypasses the default theme and applies what ever theme you want as long as it resides in the %windir%\Resources folder. However the last post from Ben.Hahlen he says that it changes his RunOnceEx window. :unsure: So if someone could clarrify this it would be great because i'm looking for a way to change the backdrop of my RunOnceEX window.

Thank you

#9 User is offline   Ben.Hahlen 

  • Member
  • PipPip
  • Group: Members
  • Posts: 112
  • Joined: 22-February 04

Posted 05 June 2005 - 03:24 PM

This utility is made to change the theme in to whatever theme you like, but it has to reside in the %windir%\resources\themes folder.

My post is only to ask whether I'm doing something wrong, because when I run it from RunOnceEx, it changes the theme, so the RunOnceEx window looks different, but then when it boots further into windows, the theme is back to Luna again, so I guess that @first logon there is some service not running yet, or something like it.

If you want to use a different theme for your RunOnceEx window, do the following:
1. set the theme
2. navigate to the HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ThemeManager key in your registry
3. export it.
4. add the code during cmdlines.txt, only using HKEY_USERS\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\ThemeManager instead of HKCU.
The reg-file will look like this:
[HKEY_USERS\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\ThemeManager]
"WCreatedUser"="1"
"LoadedBefore"="0"
"ThemeActive"="1"
"LastUserLangID"="1033"
"DllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
  74,00,25,00,5c,00,72,00,65,00,73,00,6f,00,75,00,72,00,63,00,65,00,73,00,5c,\
  00,54,00,68,00,65,00,6d,00,65,00,73,00,5c,00,52,00,6f,00,79,00,61,00,6c,00,\
  65,00,5c,00,52,00,6f,00,79,00,61,00,6c,00,65,00,2e,00,6d,00,73,00,73,00,74,\
  00,79,00,6c,00,65,00,73,00,00,00
"ColorName"="NormalColor"
"SizeName"="NormalSize"

This code sets the theme to royale.

Hope I've helped you.

(And I hope someone can help me :P).

#10 User is offline   dwit 

  • Dwit
  • Group: Members
  • Posts: 30
  • Joined: 31-October 04

Posted 05 June 2005 - 11:51 PM

thank you
:D

#11 User is offline   Ben.Hahlen 

  • Member
  • PipPip
  • Group: Members
  • Posts: 112
  • Joined: 22-February 04

Posted 06 June 2005 - 03:44 AM

I found out why it didn't apply the themes correctly.
As I said, I thought that it was a service not started yet that caused the problem, and I was right :).
If you're running RunOnceEx, just make sure that you put
net start Themes
before you apply the theme.
That works perfectly (for me) :).

THanks for this utility :).

#12 User is offline   Ben.Hahlen 

  • Member
  • PipPip
  • Group: Members
  • Posts: 112
  • Joined: 22-February 04

Posted 06 June 2005 - 06:44 AM

Guess I cheered too soon...
Using the "net start themes" command doesn't do it. It did it once, but now it doesn't do it anymore :'(
Is someone able to help me??

#13 User is offline   scankurban 

  • F_s_M
  • PipPip
  • Group: Members
  • Posts: 240
  • Joined: 29-August 03

Posted 06 June 2005 - 07:17 AM

When i use with commandline its showing display properties not apply theme

"ApplyTheme.exe F_s_M"

F_s_M my visual style and not default on pc.My current language turkish.

#14 User is offline   milika 

  • Group: Members
  • Posts: 3
  • Joined: 13-May 05

Posted 25 June 2005 - 06:17 PM

scankurban, on Jun 6 2005, 03:17 PM, said:

When i use with commandline its showing display properties not apply theme

"ApplyTheme.exe F_s_M"

F_s_M my visual style and not default on pc.My current language turkish.
<{POST_SNAPBACK}>


It displays a dialog if u dont have the theme file in your resource dir...

bye

#15 User is offline   Martijn 

  • It's-a-me, Mario!
  • PipPipPipPip
  • Group: Members
  • Posts: 524
  • Joined: 28-July 04

Posted 23 February 2006 - 04:41 AM

I'm sorry for having to kick up this **old** topic but the file seems to be down. Does anyone still have this program?

#16 User is offline   cloferba 

  • Member
  • PipPip
  • Group: Members
  • Posts: 119
  • Joined: 25-April 08

Posted 10 June 2009 - 08:26 PM

the file is working..i can download it

but it doesnt work :S

i mean..i use the right commands but nothing occurs. maybe the program doesnt work anymore?

#17 User is offline   coffee87 

  • Group: Members
  • Posts: 1
  • Joined: 18-August 11
  • OS:XP Pro x86
  • Country: Country Flag

Posted 18 August 2011 - 08:06 PM

sorry for bringing up old post, but this is important to me.. does anyone have this Applytheme application? i cant download it because the link isn't working.. anyone?

thanks

This post has been edited by coffee87: 18 August 2011 - 08:38 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy