Shop Mobile More Submit  Join Login
LuaCalendar 6.0 by smurfier LuaCalendar 6.0 by smurfier
*** Requires Rainmeter 3.3.2 or higher ***
Before upgrading to a newer version, back up all settings, holiday files, and personal style sheets.

A simple calendar powered by Lua with many customizable options.

Options and Features include:
  • Uses Style Sheets for easy customizing.
    • Includes three default styles and an Enigma style.
  • Start the week on Monday.
  • Use localized month names.
  • Show holidays and events.
  • Move through the months.
  • And many more!


For more information visit: smurfier.github.io/LuaCalendar…
Add a Comment:
 
:iconjahpickney:
JahPickney Featured By Owner Oct 27, 2012  Hobbyist Digital Artist
I just noticed that Leif Erikson Day is marked on here :D He's one of my ancestors! Excellent calendar regardless, great work :)
Reply
:iconstormfirerealm:
StormFireRealm Featured By Owner Oct 22, 2012  Professional Interface Designer
great job, got a quick question... Can you make me an even script.

Just need something simple that an Event the happens, Fridays every 2 weeks.

Thanks
Reply
:iconsmurfier:
smurfier Featured By Owner Oct 22, 2012
This will be a feature of the next release of the skin which will coincide with the Rainmeter 2.4 final release. (Hopefully within the next month)
Reply
:iconstormfirerealm:
StormFireRealm Featured By Owner Oct 22, 2012  Professional Interface Designer
Sweet, can't wait to see it
Reply
:iconcoalminer07:
coalminer07 Featured By Owner Sep 26, 2012
wow nice calendar. however is there one for a white background? ie darker numbers
Reply
:iconsmurfier:
smurfier Featured By Owner Sep 27, 2012
You can easily change the colors. Visit the site linked to above for information about the Style Sheets. If you don't know how to work with Rainmeter coding, please read Rainmeter 101.
Reply
:iconspuuunit:
spuuunit Featured By Owner Sep 16, 2012
Hi. This skin is Extremely nice! Thanks for this =).

But I have a question. Is there a way to script:
IF the current month showing IS "September"

Thanks in advance.
Reply
:iconsmurfier:
smurfier Featured By Owner Sep 16, 2012
I do not understand your question.

What exactly do you want it to do?
Reply
:iconspuuunit:
spuuunit Featured By Owner Sep 20, 2012
I've been noob modding a little bit, and as it is now - when I click on a day, a .txt opens for that specific day. Here's a link if you're interested: spunit.tk/x/LuaCalendar_Test.rar .

See all the LeftMouseUpActions in the LuaCalendar.ini, and look in @Resources\days and you should understand. So the thing is that I want to have separate bunches om .txt for each month.

Sorry if I explain badly.
Reply
:iconsmurfier:
smurfier Featured By Owner Sep 20, 2012
LuaCalendar currently sets the #Month# variable to either the localized month name (if you're using the localization feature) or the number of the month.

LeftMouseUpAction = ["#@#days\#Month#\1.txt"]
Reply
:iconspuuunit:
spuuunit Featured By Owner Sep 21, 2012
Thanks dude! This really helped me out a Lot =).

But I have one more question. Would there be a way to highlighten those dates that have something written in their .txt?

Thanks again =).
Reply
:iconsmurfier:
smurfier Featured By Owner Sep 21, 2012
That would require a radical change to the calendar script.

Though I do not understand why you want to go through all this trouble when LuaCalendar has a built in system for displaying events.
Reply
:iconspuuunit:
spuuunit Featured By Owner Sep 22, 2012
Oh, I didn't realise that! That way would be better actually. But then again, I have one more question again lol, sorry =).

The #Month# was great, snaps up what month you're at. But is there a same method you could use for the day? I tried #Day#, but it didn't work.

What I'm trying to do is that when I click on date 1, I want to open "File_#Day#". Kind of like:
LeftMouseUpAction = ["D:\File_#Day#.vbs"]
Reply
:iconsmurfier:
smurfier Featured By Owner Sep 22, 2012
Something like this may be your solution.

Place the following function at the bottom of the CScript.lua file.
function Launch(meter)
local file = SELF:GetOption('DayFile')
meter = tonumber((meter:gsub(Set.MPref, ''))) - StartDay
SKIN:Bang('["' .. string.format(file, meter) .. '"]')
end


On the Lua measure, place the option DayFile=D:\File_%d.vbs where the %d part is the day number.

Then on each measure: LeftMouseUpAction=!CommandMeasure Lua Launch(#CURRENTSECTION#)
Reply
(2 Replies)
:iconrobbyha:
robbyha Featured By Owner Sep 14, 2012
just what I was looking for
THanks

Robby
Reply
:iconladyofyoudream:
LadyOfYouDream Featured By Owner Sep 9, 2012
rather my first day of the week Monday, I beg you, do so to the first day was Monday, pleaaaseeeeeeee
Reply
:iconsmurfier:
smurfier Featured By Owner Sep 9, 2012
If you read the page which I have linked to above you will find that there is a setting for starting the week on either sunday or monday.
Reply
:iconladyofyoudream:
LadyOfYouDream Featured By Owner Sep 14, 2012
I tried to do that but I doing something wrong, oh, Can you explain how to do well so that the first day of the calendar was a Monday and the date moved up a day ago? I ask
Reply
:iconsmurfier:
smurfier Featured By Owner Sep 14, 2012
In the LuaCalendar folder located in Documents\Rainmeter\Skins you will find an @Resources folder. Inside that folder find the Settings.inc file. Open it with notepad. There will be a line like this ;StartOnMonday=1. Remove the semicolon on the front so it looks like this StartOnMonday=1. Save the file then refresh LuaCalendar.
Reply
:iconladyofyoudream:
LadyOfYouDream Featured By Owner Sep 14, 2012
Ooohhh, thank you very much^^* It's very cool calendar:D
Reply
:iconladyofyoudream:
LadyOfYouDream Featured By Owner Sep 9, 2012
where is the 68 line?:\
Reply
:iconladyofyoudream:
LadyOfYouDream Featured By Owner Sep 9, 2012
how to make sure that the days have moved on a day ago? I just have a day ahead skin
Reply
:iconchunky1318:
chunky1318 Featured By Owner Aug 10, 2012
Great calendar! Especially with the custom .hol files! But I was wondering, how do I display a list of the hol entries for each month?
Reply
:iconsmurfier:
smurfier Featured By Owner Aug 10, 2012
Use the DefaultEvents style.
Reply
:iconcybertiberium:
cybertiberium Featured By Owner Jul 11, 2012
The only thing I would Add is the ability to add your own events/plans.
Reply
:iconcybertiberium:
cybertiberium Featured By Owner Jul 11, 2012
It can be done! [link] The only problem I found is that one doesnt correctly display the correct date on the correct day of the week. dont know why. And it would be cool if it too were to have a scroll through the months. i dont know shit.
Reply
:iconsmurfier:
smurfier Featured By Owner Jul 20, 2012
It's not that it isn't possible. LuaCalendar is quite complex and making a skin to manage multiple Event files would be equally complex if not more so. This is a complexity that is not necessary given that the files can be edited in a text editor with great ease.
Reply
:iconsmurfier:
smurfier Featured By Owner Jul 11, 2012
I don't understand... You can add those to the event files.
Reply
:iconcybertiberium:
cybertiberium Featured By Owner Jul 11, 2012
Yeah you can. i meant by without going to the trouble of event files and text and editing.
like you click the day or right click the day you want the event on and then click add event or something then add the event.

event menu would be like add event, edit, delete event. and then have multiple highlighting options for certain events and repeating events or not. etc. something like a useful schedule calendar but on your desktop

i may be talking out of my butt but i can not find a rainmeter calendar like it that is sleek yet is able to add events right to it.
i looked t [link] and its to big. i dunno
Reply
:iconsmurfier:
smurfier Featured By Owner Jul 11, 2012
I won't be adding support for that as this is a skin, not a program. Perhaps RainLender is for you.
Reply
:iconelmoruleworld:
elmoruleworld Featured By Owner May 14, 2012
The bumpers do not seem to be working. Changing Bumper.bottom doesn't do anything and Bumper.x only affects the left side.
Reply
:iconsmurfier:
smurfier Featured By Owner May 15, 2012
I'm sorry, I seem to have removed Bumper.bottom and did not realize it.

Yes, Bumper.x does really only affect the left side.

I will fix this for the next release which should be in the next couple days.
Reply
:iconelmoruleworld:
elmoruleworld Featured By Owner May 17, 2012
Sounds awesome! Thanks. This is awesome.
Reply
:iconsmurfier:
smurfier Featured By Owner May 22, 2012
The new version is up. Sorry for the delay.
Reply
:iconearlmcbrian:
earlmcbrian Featured By Owner May 6, 2012
Is there a way to change the font? I can't find the setting in edit.
Reply
:iconsmurfier:
smurfier Featured By Owner May 6, 2012
You will need to edit the Style Sheet that you're using. For more information about the style sheets read here.
Reply
:iconhelloula:
helloula Featured By Owner Apr 13, 2012
Hello again !
1- I edited my holidays list in holiday.hol but I stil have some holidays that aren't in my list.

2- I want to know how to make weekend days in same color than holidays !

thanks !
Reply
:iconsmurfier:
smurfier Featured By Owner Apr 13, 2012
I'm going to need some elaboration on your first issue. Did you include those Holidays in your event file but they are not showing up on the calendar?

You will need to edit the style sheet a bit. If you're not familiar with editing Rainmeter skins you first need to read Rainmeter 101. After that, ask me for help on the official Rainmeter forums.
Reply
:iconhelloula:
helloula Featured By Owner Apr 12, 2012
hi ! can't install it ( this package requires rainmeter 2.... or higher) have last version of rainmeter installed !!!
Reply
:iconsmurfier:
smurfier Featured By Owner Apr 12, 2012
You have 2.3 r1259 or higher installed? I suggest downloading the current 2.3 beta and try again. If that doesn't work, I suggest a manual install.
Reply
:iconhelloula:
helloula Featured By Owner Apr 12, 2012
Thank you very much ! it works with the 2.3 beta version !
Reply
:iconbooboorooboo:
booboorooboo Featured By Owner Apr 9, 2012
Great calendar! I want to show the current month plus two months forward, so I've copied the folder twice to make three different versions. I've figured out how to make the "Home" button jump to the appropriate month, but how do I make it refresh to current month plus one or current month plus two?
Reply
:iconosricwuscfrea:
OsricWuscfrea Featured By Owner Mar 3, 2012  Hobbyist General Artist
Brilliant!
Reply
:iconsbocquet:
sbocquet Featured By Owner Feb 7, 2012
Hi,

Works great but found a little bug :)

If you set to start on Monday, than all your events described with "FirstMon" or "ThirdThu" aren't well positionned.
e.g. : an event positionned at "SecondSun" appears on a Monday date !
Reply
:iconsmurfier:
smurfier Featured By Owner Feb 7, 2012
Good catch. Fixed.
Reply
:iconsbocquet:
sbocquet Featured By Owner Feb 8, 2012
Is the fix in the latest downloadable file ?
Reply
:iconsmurfier:
smurfier Featured By Owner Feb 8, 2012
Yes.
Reply
:iconcroozen:
croozen Featured By Owner Feb 1, 2012
dosent work for me sorry to say . I get this msg and the month does not show and the arrow keys are in the calendar it self I get this error any ideas? "StringAlign=#M.Lbl.AIn# is not valid in [MonthLabel]"
Reply
:iconsmurfier:
smurfier Featured By Owner Feb 1, 2012
Edit LuaCalendar.ini changing StringAlign under MonthLabel to be CENTER.

I do not know why that is happening unless I misspelled the variable or it doesn't exist in the .inc file. Either way, I removed it from my version and will upload a new version soon.
Reply
:iconcroozen:
croozen Featured By Owner Feb 1, 2012
I used your advice from the rainmeter forum about adding this in settings "M.Lbl.Aln=CENTER" worked great .. thanks
Reply
Add a Comment:
 
×




Details

Submitted on
January 21, 2012
File Size
651 KB
Submitted with
Sta.sh
Link
Thumb
Embed

Stats

Views
69,036 (17 today)
Favourites
102 (who?)
Comments
162
Downloads
20,392 (6 today)

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
×