GetVariable() was added in r854 (2.1 beta). Make sure you're on a sufficiently high version of Rainmeter.santa_ryan wrote:Error: ...
Maybe I'm just doing something wrong, but I know I fixed the error using the above fix.
It is currently September 8th, 2024, 1:02 am
[Script] Lua Marquee
-
- Developer
- Posts: 2873
- Joined: April 17th, 2009, 12:18 pm
Re: PROOF OF CONCEPT: Lua Marquee
-
- Posts: 397
- Joined: June 22nd, 2010, 4:11 am
Re: PROOF OF CONCEPT: Lua Marquee
Ah... that fixed it poiru. I really need to pay more attention to those details ![Embarrassed :oops:](./images/smilies/ah.gif)
![Embarrassed :oops:](./images/smilies/ah.gif)
I have three rules when I'm trying to help you.
- Don't get mad when you don't understand something
- Be VERY specific with what you ask for.
The more specific you are, the higher the quality of support you receive. - Do not just copy and paste what I put in examples and come back saying it doesn't work.
It does work, but I purposely left blanks that you need to fill for your specific needs.
-
- Posts: 50
- Joined: July 10th, 2011, 9:15 am
- Location: Fresno, CA
Re: [Script] Lua Marquee
I don't know if anyone else encountered this, but the text starts to become consumed after it scrolls if StringAlign=RIGHT is used. I guess it's not a huge problem when it comes to a marquee, but I decided to mention it. I ended up editing it to make it restart when it reached the end before I realized that fixing the align would resolve the issue.
Besides that hiccup on my part, this script will be very useful for some projects of mine. Thanks!![Big Grin :D](./images/smilies/ag.gif)
Besides that hiccup on my part, this script will be very useful for some projects of mine. Thanks!
![Big Grin :D](./images/smilies/ag.gif)
This is my keyboard. There are many like it, but this one is mine.
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: [Script] Lua Marquee
This is because the script only adds spaces onto the beginning of the string. I will look into fixing this issue.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: [Script] Lua Marquee
I can add the spaces needed with the script, but Rainmeter removes trailing spaces from strings. There seems to be no easy way to resolve this issue.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
-
- Posts: 50
- Joined: July 10th, 2011, 9:15 am
- Location: Fresno, CA
Re: [Script] Lua Marquee
I don't really think that the fix will be too necessary, because with your marquee, the width setting makes it unnecessary to have it aligned to the RIGHT. I think it might only be helpful to add it as a note or something.
But back to more compliments on this script, it's fantastic. It took me a while to figure out how the code worked, but once I figured it out, I just started tinkering with it. I've got it scrolling back and forth now for a music skin. I'm loving this script. Wish I could've thought of it myself! So, basically, great job!
But back to more compliments on this script, it's fantastic. It took me a while to figure out how the code worked, but once I figured it out, I just started tinkering with it. I've got it scrolling back and forth now for a music skin. I'm loving this script. Wish I could've thought of it myself! So, basically, great job!
This is my keyboard. There are many like it, but this one is mine.
-
- Posts: 7
- Joined: October 11th, 2011, 8:43 pm
Re: [Script] Lua Marquee
Hi. I'm a total noob at rainmeter coding. I found out about it just yesterday and have been messing with things. I've put together a player for songbird but I want to have the info scroll. What I need to know is if there is a way to include the contents of a txt file in a marquee? How can I do this?
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: [Script] Lua Marquee
What is the format of your text file?
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
-
- Posts: 7
- Joined: October 11th, 2011, 8:43 pm
Re: [Script] Lua Marquee
I'm 100% sure what you mean. The file format is ".txt". The format of text in the txt file is just "Artist - Song Title". When I said noob I meant n00b. I got this far by seeing what does what by looking at existing codes.
EDIT.
I've figured it out. thanks for even thinking about helping me though
i'll be back with questions in the future more than likely
EDIT.
I've figured it out. thanks for even thinking about helping me though
![Welcome :welcome:](./images/smilies/bs.gif)
i'll be back with questions in the future more than likely
Last edited by ToyMachine on October 12th, 2011, 1:36 am, edited 1 time in total.
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: [Script] Lua Marquee
I think it would be much easier all the way around if you could provide me a copy of your skin. I just need more information than is easily communicated.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .