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:
 
:iconsmurfier:
smurfier Featured By Owner Feb 24, 2014
Open cScript.lua in notepad. Scroll down until you find the Draw function.

Look for this line:
elseif (meter % 7) == 0 or (meter % 7) == (Settings.StartOnMonday and 6 or 1) then

Change it to:
elseif (meter % 7) == 0 or (meter % 7) == (Settings.StartOnMonday and 6 or 1) and not event then
Reply
:iconn-thro:
n-thro Featured By Owner Feb 25, 2014
Thanks a lot! You rock!
Reply
:iconsmurfier:
smurfier Featured By Owner Feb 25, 2014
No problem. This had been added to future releases.
Reply
:icongsim94:
gsim94 Featured By Owner Feb 4, 2014
If anyone could help me with this problem I would greatly appreciate it!!
I set the settings to "click through" and cant find a way to reset it back to normal. Any idea how this can be done?

Thanks!!
Reply
:iconsmurfier:
smurfier Featured By Owner Feb 5, 2014
Hold down the cCtrl button while you right click on the skin.
Reply
:iconmercury52:
mercury52 Featured By Owner Dec 31, 2013
Great functional calendar. Just what I've been looking for.
Reply
:icongreyhndz:
greyhndz Featured By Owner Dec 9, 2013
Thank you, my friend. I'm been searching for a simple monthly calendar and calculator and now I've got both. Much appreciated!!
Reply
:iconstartreksuite:
startreksuite Featured By Owner Nov 3, 2013  Hobbyist Photographer
Hi,
I was wondering how to add events to the calendar. I use the Enigma skin, and try to add the xml calendar through the options skin.  It doesn't seem to work. Is there a different way? thanks.
Reply
:iconsmurfier:
smurfier Featured By Owner Nov 3, 2013
Please join me on the Rainmeter IRC Web Chat: webchat.freenode.net/?channels…
Reply
:icondomdeviantart:
domDeviantArt Featured By Owner Oct 26, 2013
Posting this in case it helps anyone else...   I wanted to show 2 (or more) months on the desktop. There may be better ways of doing this but this worked for me.

Copy the folder you have LuaCalendar in e.g. C:\Rainmeter\Skins\LuaCalendar\ and rename it to something useful e.g. C:\Rainmeter\Skins\LuaCalendar_Month+1\
Then edit the LuaCalendar.ini in C:\PortableApps\Rainmeter\Skins\LuaCalendar_Month+1\ (or whatever you called it)
At the bottom of the first section, [Rainmeter], add a the following line to show the next month  -

OnRefreshAction=[!CommandMeasure Lua Move(1)][!Update]

e.g.
; under this line...  MouseScrollDownAction=!CommandMeasure Lua "Scroll=Scroll+1"
OnRefreshAction=[!CommandMeasure Lua Move(1)][!Update]

Then go into the usual Rainmeter manage section, choose Refresh All and you should see the folder you created there e.g. LuaCalendar_Month+1 under Active Skins. Then just choose Load as you usual would to show a new skin.

If you want to show more than one month, then just copy the folder again and increment or decrement the number after the Move e.g. Move(2) or Move(-1)

As I said there might be better ways of doing this but this worked for me, and I hope it helps someone else show the next month or the previous month of the calendar on the desktop.

Dom
Reply
:iconhora-hora:
hora-hora Featured By Owner Jun 24, 2013  Professional Digital Artist
Hello, seems like this question hasn't been asked yet...
I've changed the "fontface" and "fontsize" in default2 style and now horizontal line of current day/week looks a bit offset down by several pixels [link].
So, can I somehow adjust position of "maintext" or "hline" on Y axis to align them without editing LUA script? Thanks.
Reply
:iconsmurfier:
smurfier Featured By Owner Jun 24, 2013
You will need to edit the C.h and C.w variables for that. They are located in the Variables.inc file. It might take some trial and error to find what the dimensions of the individual text cells are now. If that doesn't work, you may need to alter the formula in the [hLine] section of the Styles.inc file. The LUA script simply returns the week number and does not need to be altered.
Reply
:iconhora-hora:
hora-hora Featured By Owner Jun 24, 2013  Professional Digital Artist
Aw yeah, lowering C.h value did the trick, thanks for the support!
Reply
:icondr-xperience:
Dr-Xperience Featured By Owner May 27, 2013
Hey I am totally new to rainmeter so if possible please tell me how to add a transcluent image behind the app. As its very hard to see calender with my current wallpaper.
Reply
:iconsmurfier:
smurfier Featured By Owner May 27, 2013
Do you have an image in mind or would a defined color be an ok background?
Reply
:icondr-xperience:
Dr-Xperience Featured By Owner May 27, 2013
Cool I was looking for something like this from long . And finaaly got
Good Job
Thanks [link]
Reply
:iconmeherjan:
Meherjan Featured By Owner May 23, 2013
I would like to change the colours of the date, the month as well as the days of the week. Could you help me with that?
Reply
:iconjafarc:
jafarc Featured By Owner Mar 3, 2013  Student Digital Artist
I cant seem to install it :(
it says "invalid settings file", rainstaller is supposed to install it automatically, but i dont seem to know what the problem is :/

I'm trying to install this one because your older enigma calendar just stopped showing the calendar after february.
i dont know what to do
Reply
:iconsmurfier:
smurfier Featured By Owner Mar 3, 2013
Are you running the latest Rainmeter 2.5 beta?
Reply
:iconney2x:
ney2x Featured By Owner Feb 26, 2013
I modified this to blend with my other skins, I hope you don't get mad at me. Here's the screenshots ---> [link]
Reply
:iconsmurfier:
smurfier Featured By Owner Feb 26, 2013
That would be the point of having all the customization options.
Reply
:iconney2x:
ney2x Featured By Owner Feb 8, 2013
The best Calendar!!! Thanks for this!
Reply
:iconcraziloco:
craziloco Featured By Owner Jan 2, 2013
yes, it worked very well ..... thanks for the help and wish you a happy new year ....
Reply
:iconcraziloco:
craziloco Featured By Owner Jan 2, 2013
no, do not show anything that I have noticed ... I leave the photos of the process before and after ...
[link]
[link]
[link]
Reply
:iconsmurfier:
smurfier Featured By Owner Jan 2, 2013
That ; in front of the line means that it's commented out. You need to remove the ; and it should work.
Reply
:iconcraziloco:
craziloco Featured By Owner Jan 1, 2013
hello @ smurfier thanks again for the help on the color of the holidays served me well, seeing the comments I care something we wrote @ lordyk language switching the months of the year, (it's for a friend) follow these steps placed over the link, but I do not work out, the name change from month to month bone number 1, 2, 3 ... I wonder if there is another script need to change something, please help...
Reply
:iconsmurfier:
smurfier Featured By Owner Jan 1, 2013
Are there any error messages in the About dialog?
Reply
:iconcraziloco:
craziloco Featured By Owner Dec 30, 2012
h[link] thank you very much for the reply, it helped me a lot and what I was looking for, thank you for me out of trouble. luck ....
Reply
:iconcraziloco:
craziloco Featured By Owner Dec 30, 2012
@ smurfier hi i like your calendar and made a few adjustments to my taste, this calendar I have placed several people and have really enjoyed it .... I have a question and I could not do it, how do I place two events in the same month a different color and a festive one birthday, I have tried several times with different script but I could not do it .... Can you help me with this thank you very much.
Reply
:iconsmurfier:
smurfier Featured By Owner Dec 30, 2012
Since DevaiantArt is incorrectly "fixing" my xml, please use the link below to see the correct syntax:

[link]
Reply
:iconsmurfier:
smurfier Featured By Owner Dec 30, 2012
<event day="1" month="12" description="Test" color="255,0,0"/>
<event day="2" month="12" description="Test" color="0,255,0"/>
Reply
Hidden by Owner
Hidden by Owner
:iconlordyk:
lordyk Featured By Owner Dec 4, 2012
Hello, i try to translate your calendar skin to spanish. But i have a problem. How i can change (translate) the names of the months of the calendar title?

Thank U, Your calendar is so pretty.
Reply
:iconsmurfier:
smurfier Featured By Owner Dec 5, 2012
Do a search for MonthLabels on the following page: [link]
Reply
:iconlordyk:
lordyk Featured By Owner Dec 5, 2012
Thank you.

I wrote the following line in "Settings":

MonthLabels=Enero|Febrero|Marzo|Abril|Mayo|Junio|Julio|Agosto|Septiembre|Octubre|Noviembre|Diciembre.

But nothing change, i don't know if i'm doing it wrong
Reply
:iconsmurfier:
smurfier Featured By Owner Dec 5, 2012
You also need to turn off UseLocalMonths by changing it from 1 to 0
Reply
:iconlordyk:
lordyk Featured By Owner Dec 5, 2012
Thank you very much. Is working now
Reply
:iconkyleallenpoole:
KyleAllenPoole Featured By Owner Nov 28, 2012
Is there any way that you can make the LuaCalendar toggle when you toggle the Enigma stuff?
Reply
:iconsmurfier:
smurfier Featured By Owner Nov 28, 2012
Edit LuaCalendar.ini and add Group=EnigmaSidebar to the [Rainmeter] section.
Reply
:iconkyleallenpoole:
KyleAllenPoole Featured By Owner Dec 6, 2012
Thank you so much.
Reply
:iconv3rpin:
v3rpin Featured By Owner Nov 26, 2012
Hi. Very nice skin !

Is it possible to add non repeatable event ? It looks like "Repeat" option after "EventFile" is required.When I deleted it skin stopped showing anything.
Reply
:iconsmurfier:
smurfier Featured By Owner Nov 26, 2012
Simply create a new event file that doesn't use the Repeat option. Once you create the new file remember to edit the Settings file in @Resources by adding the file to the EventFile setting. Append the full path and file name after a pipe delimiter (|).

EventFile=#@#Calendars\Holidays.xml|#@#Calendars\YourFile.xml
Reply
:iconv3rpin:
v3rpin Featured By Owner Nov 26, 2012
I've added additional event file like this:
<EventFile>
<Event Year="2013" Month="11" Day="13" Description="zxc"/>
</EventFile>
No diffrence. Still skins shows only "#Month Label#". After adding repeat option it works correctly ...
Reply
:iconsmurfier:
smurfier Featured By Owner Nov 27, 2012
You are actually creating a new file as in opening up notepad, pasting that in and saving it as something like MyEvents.xml?
Reply
:iconv3rpin:
v3rpin Featured By Owner Nov 27, 2012
Yes
Reply
:iconsmurfier:
smurfier Featured By Owner Nov 27, 2012
The new version has been released.
Reply
:iconsmurfier:
smurfier Featured By Owner Nov 27, 2012
Congratulations! You have found a fatal error!

This has been fixed and a new version will be released later tonight.

(I would release it now but that takes a lot of work.)
Reply
:iconstormfirerealm:
StormFireRealm Featured By Owner Nov 4, 2012  Professional Interface Designer
sweet, thanks for the update
Reply
Add a Comment:
 
×




Details

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

Stats

Views
71,814 (6 today)
Favourites
103 (who?)
Comments
163
Downloads
21,189

License

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