@Resources folder


The @Resources folder in the root folder of a skin is the recommended location to store and access images, fonts, sounds, include files, addons or other additional files used by the skin. The @Resources folder is ignored when scanning for skins, so using it to store images and other resources will improve the initial load time of Rainmeter.

The @Resources folder must be created at the root config level of the skin (e.g. Skins\illustro\@Resources) and the #@# built-in variable can be used as a shortcut to specify it.

Note: The #@# built-in variable should always be used to specify the location of the @Resources folder. Since @Resources must be at the root config level of the skin, a relative path like ImageName=@Resources\Images\MyImage.png will assume that @Resources is in the same folder as the skin .ini file, and that can be wrong. Using ImageName=#@#Images\MyImage.png is much more reliable.

Fonts

TrueType (.ttf) or OpenType (.otf) fonts in the @Resources\Fonts folder are automatically loaded and can be used with the FontFace option in string meters.

For example, to include the font SomeFont.ttf, it should be placed in: Skins\SomeSkin\@Resources\Fonts\SomeFont.ttf, and used with FontFace=SomeFontFamily.

Cursors

Custom cursors (.ani or .cur) in the @Resources\Cursors folder are automatically loaded and can be used with MouseActionCursorName.

Examples

ImageName=#@#Images\MyImage.png
LeftMouseUpAction=["#@#Addons\MyAddon.exe" "Parameter"]
@Include=#@#Variables.inc