It helped for sure this time, but even though you did explain how it works, I'm not sure the OP learned something out of it in order to be able to do it on his own next time, whether it's in Lua or native Rainmeter code, considering it's his 5th post here and he's most likely still a beginner.
I'll surprise you
For this skin, based on your own code (and yes, you were correct with your unanswered question of "There is something else to work with strings?", as that is the key; it's called IfMatch - the IfCondition equivalent, but for strings):
Thank you that is good to know
And yes, this can have scrolling as well, with similar addition to death.crafter's implementation. This can search both contact "names" and "numbers", since it merges them in [measureContact...] measures, then uses IfMatch to test whether the contents of [measureInput] (regular expression escaped using the :EscapeRegExp parameter) is found in the previously merged string.
Thank you for the sample code and the explanation, I think (for the future skins) I'll use most of the times a lua solution. Rainmeter has a good language, but it's cofused (for me) and there is too much to copy-paste and edit just some field. To make the skin I made python script to create the base skin and generate dinamically the fields. About the death.crafter skin, I made a python script that take values from excel sheet and create the Contacts.inc file with all the names and numbers inside
Here's a base converter I wrote some time ago, for DEC to any base up to base 36. Maybe you can use it as a "base" (see what I just did here?
) to add the reverse:
Thank you for the help, I think I'll made two version of the convert, one using lua and the other one rainmeter, just to compare and learn both.
With the death.crafter skin I finally learned how to use the rainmeter language, about the lua it's a good starting point, but I think I can learn it without problem, as I do for the other languages
Indeed - learning a language (whether it's Rainmeter's INI syntax or Lua) just from answers to specific questions would be a first though. I'd be like
if you can show me an "apprentice" that managed that. Maybe your friend Jax?
For me, it took a couple of days with lots of tabs open in my browser to say I can reasonably (according to my high expectation self-review) do things in Lua. In Rainmeter, though easier, it took longer and I still discover new things day by day...
This is just personal experience, I think... Actually for me is more simple to learn lua than the rainmeter ini language
That was not my point. My point was if he wants to know how things work. May it be Rainmeter or anything, you have to analyze it anyway.
Correct
True. I have no idea how you expect someone who barely analyzed Rainmeter to do it for Lua though, it's like learning to run before you walk, but if you say so - I could be wrong...
Oh, and no need to be protective, I actually meant it in a positive way, regarding the 'other people'.
I think this is personal, it also depends on the experience one has in programming. A programmer will certainly have easier learning than a person who has just started using a language. In my specific case, I program in other languages, and I have no particular difficulties in learning lua, I will certainly not become the master of lua programmers, but I will be able to manage what I have to do and I will be able to help others.
I don't expect him to. If he wants to learn, he can start from scratch. I just gave him a way. 6 months ago I don't know a thing about lua, and 5 months ago I made a visualizer. So I won't say it's easy but it ain't hard.
I used your skin, but I have already changed it to only handle names and phone numbers. Now selecting a line, through lua, I send a command to dial the phone number directly on the fixed phone at my desk (Using a software specifically called "desktop dialing")
Thank you both for your help anyway