Skip to content

2. Features

nek7u edited this page Jan 15, 2023 · 12 revisions

How OneTicker skin is working

  1. Load / refresh the skin.
  2. Get the source file names in the Skins\OneTicker\Sources\example.txt those are checked. Menu > Sources > example ✔️
  3. Initialize the worker queue and read each lines of the files and parse.
    • if it begins with % and something like %#x %H:%M (Rainmeter Time measure format codes), add to the worker queue as a time
    • if it begins with https://, add to the worker queue as a web
    • if it begins with geographic coordinates like a 40.7766,-73.9701, add to the worker queue as a weather
    • if it begins with C:\xyz... and looks like a local file path, add to the worker queue as a file
  4. Proceed the worker process.
    • if web or weather then download the data and parse. Create an item and add to the ticker items.
    • if file then read each lines and create an item and add to the ticker items. 1 ticker item per line.
    • if time then add an item to the ticker items.
  5. Start the ticker animations.
    • if the ticker item is time then update the Time measure and display the time.
    • if the ticker item is web or weather or file then display the data that got before.

Clone this wiki locally