4/3/2024 0 Comments Rainmeter skin 12 hour clock![]() If TimeStamp is a numeric Windows timestamp or a formula defining a Windows timestamp, then this number, in one-second increments since January 1, 1601, will be used as the basis for measuring the date and time. ![]() This option can take one of several forms: A numeric Windows timestamp. ![]() The TimeStamp option is used to define an alternative to the default current system date and time used by the measure. Note: If a Format option is defined, the Windows timestamp value of the measure can still be retrieved and used with the section variable measure modifier. If Format is defined, the number value will be the value defined by the format, or zero if the format does not define a numeric value. If Format is not defined, the string value returned is in the default format %H:%M:%S, however the number value will be a Windows timestamp. This can be any combination of text and Time Format codes. Format Default: %H:%M:%Sĭisplay format for the string value of the measure. Options General measure optionsĪll general measure options are valid. The string representation desired for the date and / or time of the measure is then defined by using the Format option. ).Ī simple method for setting multiple options on the same meter or measure.Ī function that takes a Rainmeter skin's config name and returns the root config name for that skin.Ī function that breaks down a file or folder path and returns the components as a table.Ī set of function to change a string to either Sentence Case or Title Case.Ī function that converts Unix epoch timestamps into Windows FILETIME timestamps (in seconds) and vice versa.Ī function that takes a number (1-12) and a string ('AM' or 'PM') and returns the equivalent 24-hour figure.Ī function that takes a number of seconds, and returns values for weeks, days, hours, minutes, and seconds.By default this is simply the current system date and time. Rounds a number (num) to any optional number of decimal places (idp)Ĭonstrains a number between low and high values.Ī simple method for "watching" a data value in the skin (variable, measure or option) and taking action when the value changes.Ī method for parsing a string with nested expressions such as variables (i.e. Returns a second string value with the scale suffix.Ī function that averages a list of numbers. Returns the ordinal suffix for an input number.Ī function that scales a number of bytes, with an optional number of decimal places. Returns an input number as a string formatted with commas. GeneralĪ function that separates a string into parts by a given delimiter.Ī function that sorts a given table into a random order.Ī function that emulates a switch statement.Ī function that returns the minimum or maximum numeric or alphabetical value of a set.įunctions that convert color codes from RGB to HEX, and vice versa.Ĭonverts temperatures between Celsius and Fahrenheit.įunctions that read and write any string to or from a text file.Ī function that parses an INI formatted text file into a table, with the structure Table = Value.Ī function that writes an INI formatted text file from a given table, with the structure Table = Value. It is maintained by the Rainmeter development team, and hosted on GitHub. This is a collection of useful "snippets" of Lua script code for users of Rainmeter, a desktop customization tool for Windows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |