It is currently November 25th, 2020, 1:27 pm

Anyone familiar with the Grayhound theme?

Help with creating, editing & fixing problems with skins
AdrianJC
Posts: 41
Joined: April 14th, 2020, 9:48 am

Re: Anyone familiar with the Grayhound theme?

Post by AdrianJC »

Hi Guy's it me again,

Finally i got some time to spend on Rainmeter again...
I have a question I want to display what kinda processor is in a system but is it possible to show it over two lines?
This is what I got:

"PROCESSOR Intel(R) Core(TM) i7-9700K CPU @ 3.60Ghz."

This doesn't fit my 190 size of the side bar, so is it possible to split this one line into to something like this:"

"PROCESSOR Intel(R) Core(TM) i7
9700K CPU at 3.60Ghz"

and how can i get this to work if possible i didn't found a solution to this unfurtunatly.
User avatar
balala
Rainmeter Sage
Posts: 11806
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Anyone familiar with the Grayhound theme?

Post by balala »

AdrianJC wrote: November 12th, 2020, 10:35 am and how can i get this to work if possible i didn't found a solution to this unfurtunatly.
Try adding a Substitute="-":"#CRLF#" option to the measure which returns the processor type.
AdrianJC
Posts: 41
Joined: April 14th, 2020, 9:48 am

Re: Anyone familiar with the Grayhound theme?

Post by AdrianJC »

I have used this Balala

Code: Select all

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

[TitleString]
Meter=String
X=0
Y=0
W=200
H=#BoxHeight#
FontFace=#Font#
FontSize=#FontHeight#
FontColor=#TitleColor#
SolidColor=#MouseBiteColor#
StringStyle=Bold
AntiAlias=#AntiA#
Text="PROCESSOR"

[DataString]
Meter=String
MeasureName=ProcessorGather
X=80
Y=0
FontFace=#Font#
FontColor=#DataColor#
FontSize=#FontHeight#
AntiAlias=#AntiA#
Text="%1"
Last edited by balala on November 12th, 2020, 4:36 pm, edited 1 time in total.
Reason: Please use <code> tags whenever are posting code snippets. It's the </> button.
User avatar
ikarus1969
Posts: 396
Joined: February 28th, 2011, 3:20 pm
Location: Vienna, Austria

Re: Anyone familiar with the Grayhound theme?

Post by ikarus1969 »

AdrianJC wrote: November 12th, 2020, 2:12 pm I have used this Balala

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

[TitleString]
Meter=String
X=0
Y=0
W=200
H=#BoxHeight#
FontFace=#Font#
FontSize=#FontHeight#
FontColor=#TitleColor#
SolidColor=#MouseBiteColor#
StringStyle=Bold
AntiAlias=#AntiA#
Text="PROCESSOR"

[DataString]
Meter=String
MeasureName=ProcessorGather
X=80
Y=0
FontFace=#Font#
FontColor=#DataColor#
FontSize=#FontHeight#
AntiAlias=#AntiA#
Text="%1"
You didn't add the Substitute as balala suggested. Add it and try it again.
User avatar
balala
Rainmeter Sage
Posts: 11806
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Anyone familiar with the Grayhound theme?

Post by balala »

AdrianJC wrote: November 12th, 2020, 2:12 pm I have used this Balala
ikarus1969 wrote: November 12th, 2020, 2:32 pm You didn't add the Substitute as balala suggested. Add it and try it again.
As ikarus1969 said, you have to add the posted Substitute option to the [ProcessorGather] measure:

Code: Select all

[ProcessorGather]
...
Substitute="-":"#CRLF#"
AdrianJC
Posts: 41
Joined: April 14th, 2020, 9:48 am

Re: Anyone familiar with the Grayhound theme?

Post by AdrianJC »

He Guys...

well that was stupit whahahahaha it was the wrong copy O.O O.O O.O
User avatar
balala
Rainmeter Sage
Posts: 11806
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Anyone familiar with the Grayhound theme?

Post by balala »

AdrianJC wrote: November 13th, 2020, 11:21 am well that was stupit whahahahaha it was the wrong copy O.O O.O O.O
What was a "wrong copy"? Did you succeed in adding the new line entry?
AdrianJC
Posts: 41
Joined: April 14th, 2020, 9:48 am

Re: Anyone familiar with the Grayhound theme?

Post by AdrianJC »

Sorry for my absence, came down with a flu been sick in bed for day's.... now trying to pick up some stuff slowly...

I added the line like u suggested Balala and it works like a charm!! THNX pal
Is is also posible to cut short a line that is to long.....
User avatar
balala
Rainmeter Sage
Posts: 11806
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Anyone familiar with the Grayhound theme?

Post by balala »

AdrianJC wrote: November 22nd, 2020, 10:12 am Sorry for my absence, came down with a flu been sick in bed for day's....
Sorry for this and wishing you good health.
AdrianJC wrote: November 22nd, 2020, 10:12 am I added the line like u suggested Balala and it works like a charm!!
I'm glad.
AdrianJC wrote: November 22nd, 2020, 10:12 am Is is also posible to cut short a line that is to long.....
Which line?
AdrianJC
Posts: 41
Joined: April 14th, 2020, 9:48 am

Re: Anyone familiar with the Grayhound theme?

Post by AdrianJC »

I have this little piece of script:

Code: Select all

[MotherboardGather]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=HARDWARE\DESCRIPTION\System\BIOS
RegValue=BaseBoardManufacturer

[TitleString]
Meter=String
X=0
Y=0
W=180
H=#BoxHeight#
FontFace=#Font#
FontSize=#FontHeight#
FontColor=#TitleColor#
SolidColor=#MouseBiteColor#
StringStyle=Bold
AntiAlias=#AntiA#
Text="BRAND"

[DataString]
Meter=String
MeasureName=MotherboardGather
X=80
Y=0
FontFace=#Font#
FontColor=#DataColor#
FontSize=#FontHeight#
AntiAlias=#AntiA#
Text="%1"
the outcome of script is:
BRAND ASUSTek COMPUTER INC.

I would like it to show only ASUS
Last edited by balala on November 22nd, 2020, 2:52 pm, edited 2 times in total.
Reason: Please use <code> tags whenever are posting code snippets. It's the </> button.