![]() FilePath (optional): If not specified, the current skin file is used.Value (required): Value to be written.Key (required): If the key does not exist under the section, a new key will be written at the end of the section.Section (required): If the section does not exist in the file, a new section will be written at the end of the file.A skin must be refreshed for a new value written to the skin's. Permanently writes a Key=Value pair below a section in a INI formatted file (such as. Variable (required): Name of the variable.Įxample: !SetVariable SomeVariable "New value!" !WriteKeyValue Parameters: Section, Key, Value, FilePath.!SetVariable can create a new variable in memory, even if it is not pre-defined in the section. The meter or measure where the variable is used must enable DynamicVariables. Option (required): Name of the option to be changed.Įxample: !SetOption SomeStringMeter Text "New Text" !SetVariable Parameters: Variable, Value, Config.Meter/Measure (required): Name of the meter or measure section.FontSize, Text, Formula, etc.) of a meter or measure. Option and Variable bangs !SetOption Parameters: Meter/Measure, Option, Value, Config Stops any currently playing sound started by Rainmeter. wav file.Įxample: PlayLoop "SomeFile.wav" PlayStop SoundFile (required): File to be played.Playing a sound in any skin will stop any other currently playing sounds.Įxample: Play "SomeFile.wav" PlayLoop Parameter: SoundFile Rainmeter uses a single-threaded call to embedded Windows functionality to play the sound, and only one sound at a time can be managed, Rainmeter-wide. Note: While listed in this section for simplicity, the Play commands are not bangs, and do not require or allow the ! character at the beginning. SoundFile (required): Path and file to be played.The main difference from !Refresh * is that the skins folder is rescanned. This is the same as "Refresh All" from the system tray context menu. A layout can also be loaded from the Windows command line:Įxample: "C:\Program Files\Rainmeter\Rainmeter.exe" !LoadLayout "My Saved Layout" !RefreshAppĭoes a full refresh of all skins and reloads the list of configs and Rainmeter.ini settings. Valid values are: Notice (default), Error, Warning, and Debug.Įxample: !Log "There was an error!" Error !ResetStats ErrorType (optional): Specifies the type of error.If the string contains spaces, enclose the string in quotes. String (required): The string to be written to the log.Opens the Rainmeter context menu at the current mouse location. If File is specified, then TabName and Config are required.Įxample: !Manage Skins "illustro\Clock" "Clock.ini" !TrayMenu If specified the list on the left will jump to and select the named skin. If Config is specified, then TabName is required. If specified the list on the left will jump to and select the named config. Valid values are: Skins (default), Layouts, GameMode, and Settings. TabName (optional): Name of the tab to open.The value Measures is deprecated and will open the Skins tab.Įxample: !About Skins !Manage Parameters: TabName, Config, File Valid values are: Log (default), Skins, Plugins, and Version. Windows 10 also has the value: Span.Įxample: !SetWallpaper "Some Image.png" Center Application bangs !About Parameter: TabName Windows 7 (and above) also have the values: Fit and Fill. Position (optional): Sets the position of the wallpaper. ![]() If the filename contains spaces, you must enclose the filename in quotes. File (required): The file to be set as the desktop background.Sets the Windows desktop background to the specified image file. String (required): The string to be copied to the clipboard.Įxample: !SetClip "This is copied to the clipboard!" !SetWallpaper Parameters: File, Position.If the string contains spaces, use quotes around the parameter. Operating System bangs !SetClip Parameter: StringĬopies the specified string to the Windows clipboard. If executing a bang with a "config" parameter from the Windows command line, the parameter is always required. When optional and not supplied, the parameter defaults to the current config. Unless otherwise specified, valid values are the config name of a currently loaded skin to be acted upon or * (asterisk) to act on all currently loaded skins. Note: Many bangs have a Config parameter. Example: "C:\Program Files\Rainmeter\Rainmeter.exe" !RefreshApp. They are executed when used with action options in the skin.īangs can also be used from the Windows command line as a parameter to the Rainmeter.exe executable. Bangs are action commands that control various aspects of skins and Rainmeter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |