| BANGS |

| The Rainmeter can be controlled also with Litestep !Bang-commands. A bang is a special command that can be executed to change something in the application. You can use the bangs in the various actions that Rainmeter has or just run one from command line by giving it to argiument for Rainmeter.exe. Naturally you can use these from Litestep too. Note that the [] means that you must supply the argument for the bang (do not include the []-chars). The () mean that the argument is no necessary. Most !bangs take also the config as an optional parameter. If the config is defined the bang only applies to that particular config. If it's not given, the !bang is send to all active configs. Use * as the config's name to send it to all configs. The !bangs actually work differently depending where they are handled. If Rainmeter is ran standalone it handles the !bangs itself and adds the name of the config automatically to the end of the argument list. This makes it so that the !bang affects only the config that executed it. If Rainmeter is ran as Litestep's plugin the !bangs are send directly to Litestep which handles them. In this case the name of the config is not added to the arguments so it affects to all active configs. The third case is when the !bang is send via Rainmeter.exe in which case the it is handled by the first Rainmeter config that can be found. !RainmeterShow (Config) Displays the Rainmeter-window. !RainmeterHide (Config) Hides the Rainmeter-window. !RainmeterToggle (Config) Toggles the Rainmeter-window. !RainmeterRefresh (Config) Reloads the configuration file. The arguments are optional. If not given the current config is reloaded. The Config and IniFile must exist in the already loaded list of configurations. !RainmeterRedraw (Config) Forces the redraw of the window. This also updates all the meters. !RainmeterHideMeter [Meter] (Config) Hides the given meter. Note that hiding meter does not stop the measurement, you also need to disable the measure if you don't want to spend the extra CPU cycles for the measuring. !RainmeterShowMeter [Meter] (Config) Shows the given meter if it was hidden. !RainmeterToggleMeter [Meter] (Config) Toggles the visibility of the given meter. !RainmeterMoveMeter [X] [Y] [Meter] (Config) Moves the given meter (i.e. not the window, but the meter) to a new location. !RainmeterDisableMeasure [Measure] (Config) Disables the given measure. !RainmeterEnableMeasure [Measure] (Config) Enables the given measure. !RainmeterToggleMeasure [Measure] (Config) Toggles the status of the given measure (i.e. disabled/enabled). !RainmeterActivateConfig [Config] [Ini-file] Activates a new configuration ini-file. The ini-file is just the name of the file; do not include the path. !RainmeterDeactivateConfig [Config] Deactivates the configuration ini-file. !RainmeterToggleConfig [Config] [Ini-file] Toggles the configuration ini-file. !RainmeterMove [X] [Y] (Config) Moves the window to new location. !RainmeterZPos [POS] (Config) Changes the z-position of the window. -2 = OnDesktop, -1 = OnBottom, 0 = Normal, 1 = OnTop, 2 = Topmost. !RainmeterAbout Opens the About dialog. !RainmeterLsBoxHook [Config] Special bang for lsBox. Note that you MUST give the name of the config as argument. !RainmeterResetStats Resets the statistics. !RainmeterPluginBang "[MeasureName] [Arguments]" Sends a bang to a plugin. The parameter must be inside quotes. The MeasureName defines the plugin which handles the plugin. The Arguments depend on the plugin. !Execute Special !bang that can be used to combine several !bangs together. The !bangs are separated with '[' and ']'-chars. You can also launch applications with this (!Execute ["C:\Windows\Notepad.exe"]) |