It is currently May 2nd, 2024, 9:12 am

CPU Name

Get help with creating, editing & fixing problems with skins
DarkBrown
Posts: 8
Joined: June 24th, 2010, 9:49 pm

CPU Name

Post by DarkBrown »

Hey I would like to know if it's possible to get a skin with just the CPU name...

I've seen Jeffrey Morley's Dark Rainmeter skins and he has his CPU Name at the top, but I think it was attached to the other system info. Is there a skin just for the name?
Thanks.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: CPU Name

Post by jsmorley »

[Rainmeter]
Update=1000
DynamicWindowSize=1

[MeasureCPUName]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=HARDWARE\DESCRIPTION\System\CentralProcessor\0
RegValue=ProcessorNameString
UpdateDivider=3000

[MeterCPUName]
Meter=String
MeasureName=MeasureCPUName
X=0
Y=0
FontFace=Trebuchet MS
FontSize=15
FontColor=255,255,255,255
SolidColor=0,0,0,1
AntiAlias=1
6-26-2010 1-53-45 PM.jpg
You do not have the required permissions to view the files attached to this post.
DarkBrown
Posts: 8
Joined: June 24th, 2010, 9:49 pm

Re: CPU Name

Post by DarkBrown »

Thanks, but where do I paste that into?
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: CPU Name

Post by jsmorley »

It's good for you to know how to create a skin and load it:

1) Copy all that text
2) Paste it in a text editor like Notepad
3) Save it to a new folder under My Documents\Rainmeter\Skins called "CPUName" as My Documents\Rainmeter\Skins\CPUName\CPUName.ini
4) From the Rainmeter context menu, select "Refresh All"
5) From the Rainmeter context menu, select "Configs", find that CPUName.ini file and click it.

That's it.

However, you can also just download this and double click it, as long as you are running the new 1.2 Rainmeter.
CPUName.rmskin
You do not have the required permissions to view the files attached to this post.
DarkBrown
Posts: 8
Joined: June 24th, 2010, 9:49 pm

Re: CPU Name

Post by DarkBrown »

Thank you so much! :D
DarkBrown
Posts: 8
Joined: June 24th, 2010, 9:49 pm

Re: CPU Name

Post by DarkBrown »

Sorry but if you don't mind, how did you also get your name at the top? Such as if I wanted my name up there like 'John Smith'?

Thanks.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: CPU Name

Post by jsmorley »

DarkBrown wrote:Sorry but if you don't mind, how did you also get your name at the top? Such as if I wanted my name up there like 'John Smith'?

Thanks.
It you look in SystemInfo.ini, I think it is all pretty clear once you get the general idea of how a Rainmter skin works from that documentation I posted.

Code: Select all

;[USER NAME]======================================

[MeasureUser]
Measure=Plugin
Plugin=Plugins\SysInfo.dll
SysInfoType=USER_NAME
UpdateDivider=3000

[MeterName]
Meter=STRING
MeasureName=MeasureUser
X=0
Y=0
FontFace=Trebuchet MS
FontSize=10
FontColor=255,255,255,255
AntiAlias=1
StringAlign=LEFT
StringStyle=BOLD
Text="%1"
DarkBrown
Posts: 8
Joined: June 24th, 2010, 9:49 pm

Re: CPU Name

Post by DarkBrown »

Got it, thanks again!