-
Notifications
You must be signed in to change notification settings - Fork 1
2. Features
nek7u edited this page Jan 15, 2023
·
12 revisions
- Load / refresh the skin.
- Get the source file names in the
Skins\OneTicker\Sources\example.txt
those are checked. Menu > Sources > example ✔️ - 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
- if it begins with
- 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.
- 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.