While entirely possible, this not easy to do. Without going into details too much, you'd have to use either regular expressions via (RegExp) Substitute / IfMatch options:I'm still a bit new to Rainmeter but have some programming experience. Could you suggest a way to get the timestamps in the [MeasureGetSyncedLyrics] and use them to scroll the lyrics one line at a time based on the value of [MeasurePosition]?
https://docs.rainmeter.net/manual/skins/option-types/#RegExp
or Lua string patterns via gmatch() and tables (arrays):
https://docs.rainmeter.net/manual/lua-scripting/
https://www.lua.org/manual/5.1/manual.html#5.4
on the lyrics string to somehow 'translate' any time position in the track (what MeasurePosition retrieves) into an equivalent line position in the lyrics string (which can then be used to scroll its meter accordingly in the container). Then, in an OnUpdateAction in MeasurePosition:
https://docs.rainmeter.net/manual/measures/general-options/#OnUpdateAction
you'd set the Y option of the lyrics meter based on that line position in the lyrics string:
https://docs.rainmeter.net/tips/setoption-guide/
Anyway, like I said, making that 'translation' right is not exactly a walk in the park, although the basic principles are quite simple. I may take a deeper look at this tomorrow and maybe come up with a rudimentar sample code (not going to rewrite that skin though), but until then you can think about it too, since it's your objective.

Statistics: Posted by Yincognito — Today, 7:53 pm — Replies 8 — Views 17146