
rainmeter使用教程

I’ve never really been a desktop gadgets and widgets type of person, but I often put an inspirational quote on my desktop wallpaper. Today we’ll show you how to do this using Rainmeter, no matter what wallpaper you switch to.
我從來沒有真正成為過桌面小工具和小部件類型的人,但是我經常在我的桌面墻紙上加上勵志名言。 今天,我們將向您展示如何使用Rainmeter進行此操作,無論您要切換到什么墻紙。
The great thing about using Rainmeter is that you can switch your wallpaper, or rotate it, and the quote stays in the same place. What we’ll do is show how to create a very simple skin and customize it to fit our needs.
使用Rainmeter的妙處在于,您可以切換壁紙或旋轉壁紙,并且報價保持在同一位置。 我們將做的是展示如何創建一個非常簡單的外觀并對其進行自定義以滿足我們的需求。
創建一個簡單的靜態報價雨量計皮膚 (Creating a Simple Static Quote Rainmeter Skin)
Rainmeter might seem to be confusing for many of you, but it’s actually a lot simpler to use than you think. You’ll want to start by heading into your Documents folder, where you’ll find the Rainmeter –> Skins folder.
Rainmeter可能會讓您感到困惑,但實際上使用起來比您想象的要簡單得多。 首先,請轉到“文檔”文件夾,在其中找到“雨表–>皮膚”文件夾。
Once you’re there, create a new folder to house all of your own custom skins.
到那里后,創建一個新文件夾來容納您自己的所有自定義皮膚。

Then create a new folder for the new quote config—I called mine StaticQuote—and then add a .INI file with the same name to the folder. In this case, that meant creating a new text file and renaming it to StaticQuote.ini, which you can actually do directly from Notepad in the next step.
然后為新的報價配置創建一個新文件夾(我稱為mine StaticQuote),然后將具有相同名稱的.INI文件添加到該文件夾??。 在這種情況下,這意味著創建一個新的文本文件并將其重命名為StaticQuote.ini,您實際上可以直接在下一步中從記事本中執行此操作。

Open up Notepad and paste in the following text, which is all you need for this very basic configuration. You can feel free to edit the quote I’ve included, which is something I found in this @codinghorror post.
打開記事本并粘貼以下文本,這是此非常基本的配置所需的全部。 您可以隨時編輯我包含的報價,這是我在@codinghorror帖子中發現的。
[Rainmeter]Author=howtogeek
[Rainmeter]作者= howtogeek
[QuoteStyle]FontColor=FFFFFFFFFontSize=16AntiAlias=1
[QuoteStyle] FontColor = FFFFFFFFFontSize = 16AntiAlias = 1
[Quote]Meter=STRINGMeterStyle=QuoteStyleText=”Go that way, Really fast. If something gets in your way… turn.”
[Quote] Meter = STRINGMeterStyle = QuoteStyleText =”走那條路,真的很快。 如果有什么阻礙您的事情,那就轉。”
Now head to File –> Save As, change the “Save as type” to All Files instead of the default, and then give it the filename ending in .ini as shown here:
現在轉到“文件”->“另存為”,將“另存為類型”更改為“所有文件”,而不是默認值,然后為其指定以.ini結尾的文件名,如下所示:

It’s really important to make sure the file has the .ini extension.
確保文件具有.ini擴展名非常重要。
激活新配置 (Activating the New Config)
The easiest way to deal with loading new configurations and reloading them quickly is to open up the RainBrowser application included in Rainmeter—then click the Browse tab on the left-hand pane. You should see your skins folder, with your configuration underneath it.
處理加載新配置并快速重新加載它們的最簡單方法是打開Rainmeter中包含的RainBrowser應用程序,然后單擊左側窗格上的“瀏覽”選項卡。 您應該看到外觀文件夾,并在其下面進行配置。

Down near the bottom of the window, you’ll see your skin, and you can simply click the Load Skin link and it will show up on the screen.
在窗口底部附近,您將看到您的皮膚,只需單擊“加載皮膚”鏈接,該鏈接就會顯示在屏幕上。

You should leave the RainBrowser window open, since we’ll be making more changes to the skin—you can just use the Refresh Skin link to quickly reload the skin every time you change the configuration file.
您應該保持RainBrowser窗口處于打開狀態,因為我們將對外觀進行更多更改-您可以使用“刷新外觀”鏈接在每次更改配置文件時快速重新加載外觀。
更改字體和顏色 (Changing the Font and Color)

The new theme should look something like this with the default settings that we gave you, but you can easily customize and change the configuration to your liking. Let’s take a closer look at the style section of our configuration to understand how the different options work.
新主題應使用我們為您提供的默認設置,看起來像這樣,但是您可以根據自己的喜好輕松自定義和更改配置。 讓我們仔細看看配置的樣式部分,以了解不同選項的工作方式。
Changing the Color
改變顏色
The FontColor=FFFFFFFF line is what sets the color for the text, as you’d expect—but you’ll notice that instead of the standard HTML-style color code, it’s got 2 extra characters. This is because it’s actually RGB(A) with the (A) being the alpha channel—so the last two characters go from 00, or fully transparent, to FF, or zero transparency. You’d ideally pick somewhere in the middle.
正如您所期望的那樣,FontColor = FFFFFFFF行是為文本設置顏色的方法-但是您會注意到,它具有2個額外的字符,而不是標準HTML樣式顏色代碼。 這是因為它實際上是RGB(A),其中(A)是Alpha通道-因此,后兩個字符從00(或完全透明)到FF(或零透明度)。 理想情況下,您應該選擇中間的某個地方。
For instance, to change the color to black, you’d change the line to the following—though you’ll note that the default color is black, so that would be pointless.
例如,要將顏色更改為黑色,可以將行更改為以下內容-盡管您會注意到默認顏色是黑色,所以這毫無意義。
FontColor=000000FF
FontColor = 000000FF
Changing the Font Face
更改字體
If you don’t like the default font, you can use the FontFace variable, with the name of an installed font in Windows. For instance, to change the font to Calibri, you could use this:
如果您不喜歡默認字體,則可以使用FontFace變量以及Windows中已安裝字體的名稱。 例如,要將字體更改為Calibri,可以使用以下命令:
FontFace=Calibri
FontFace = Calibri
Change the Font Style
更改字體樣式
If you want to use bold, italic, or even bold italics, you can use the StringStyle variable, which takes one of the following values: NORMAL, BOLD, ITALIC and BOLDITALIC. To change the font to bold, you’d do:
如果要使用粗體,斜體甚至粗體斜體,則可以使用StringStyle變量,該變量采用以下值之一:NORMAL,BOLD,ITALIC和BOLDITALIC。 要將字體更改為粗體,請執行以下操作:
StringStyle=BOLD
StringStyle = BOLD
And of course, you’ll be able to change the font size by adjusting the FontSize variable, as you’d imagine.??
當然,您可以想象到通過調整FontSize變量來更改字體大小。
在文本中添加陰影 (Adding a Drop Shadow to the Text)
The only problem with the white text against the lighter colored background is that it isn’t quite as noticeable as you’d like—and if you used dark text instead, you couldn’t switch to a darker wallpaper without causing visibility problems.
白色文本與淺色背景之間的唯一問題是,它并沒有您想要的那么引人注目-如果使用深色文本,則不能切換到較暗的墻紙而不會引起可見性問題。
The solution is to use the StringEffect variable to set a shadow or a border on the text, making it much more visible against any background. For instance, to set a drop shadow on the text, you’d use the following—to set a border instead, you’d replace SHADOW with BORDER.
解決方案是使用StringEffect變量在文本上設置陰影或邊框,以使其在任何背景下都更加可見。 例如,要在文本上設置陰影,可以使用以下方法-設置邊框,而應將SHADOW替換為BORDER。
StringEffect=SHADOW
StringEffect =陰影
Here’s an example of what it looks like normally, then with a drop shadow, and then with a border instead:
這是正常情況下的示例,然后是陰影,然后是邊框:



If you wanted to use a darker text, you can use a light border or drop shadow by using the FontEffectColor variable. For instance, for a black text with a white border, you’d use:
如果要使用較暗的文本,可以通過使用FontEffectColor變量來使用淺邊框或陰影。 例如,對于帶有白色邊框的黑色文本,您可以使用:
FontEffectColor=FFFFFFFFFontColor=000000FF StringEffect=BORDER
FontEffectColor = FFFFFFFFFontColor = 000000FF StringEffect = BORDER
There’s a lot more configuration settings that you can choose from, all of which can be found in the Rainmeter manual.
您可以選擇更多配置設置,所有這些設置都可以在Rainmeter手冊中找到。
Congrats, you’ve created your first Rainmeter skin! Stay tuned, we’ll be covering how to do even more powerful skins in the future.
恭喜,您已經創建了您的第一個Rainmeter皮膚! 請繼續關注,我們將在將來介紹如何做更強大的皮膚。
This is the fourth part in our series explaining how to use Rainmeter. If you haven’t already, make sure to read the previous three parts in the series:
這是本系列的第四部分,介紹了如何使用Rainmeter。 如果還沒有,請確保閱讀本系列的前三部分:
Beginner’s Guide to Rainmeter: Display System Stats on Your Desktop
Rainmeter入門指南:在桌面上顯示系統統計信息
How to Make a Rainmeter Skin Stick to the Desktop Without Moving
如何在不移動的情況下使雨量計皮膚貼在桌面上
How to Keep a Rainmeter Skin from Hiding When You “Show Desktop”
“顯示桌面”時如何防止雨量計皮膚隱藏
Got any specific Rainmeter questions you’d like answered? Leave your question in the comments and we’ll see if we can help.
有您要回答的任何特定的Rainmeter問題嗎? 將您的問題留在評論中,我們將為您提供幫助。
翻譯自: https://www.howtogeek.com/howto/35980/how-to-display-a-quote-on-your-desktop-using-rainmeter/
rainmeter使用教程