HOME | DD

Published: 2012-01-21 19:50:44 +0000 UTC; Views: 192382; Favourites: 186; Downloads: 31314
Redirect to original
Description
*** 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β¦
Related content
Comments: 188
smurfier In reply to ??? [2015-04-06 02:08:42 +0000 UTC]
Nope, you didn't miss anything.
π: 0 β©: 0
rgkjr [2014-12-28 22:15:30 +0000 UTC]
Virus Total detects 7 threats on luacalendar_5_0_by_smurfier-d4n57jh.rmskin:
www.virustotal.com
AVware: Trojan.Win32.Generic!BT 20141228
K7AntiVirus: Trojan ( 700000111 ) 20141226
K7GW: Trojan ( 700000111 ) 20141226
NANO-Antivirus: Trojan.Script.Autoit.debver 20141228
Rising: PE:Trojan.Win32.Spiejy.a!1075356057 20141227
TheHacker: Trojan/Cosmu.bizd 20141227
VIPRE: Trojan.Win32.Generic!BT 20141228
π: 0 β©: 1
smurfier In reply to rgkjr [2014-12-29 19:34:32 +0000 UTC]
This is somewhat common when RMSKIN packages contain AutoIt addons, which this does. I am certain that there are no viruses in the package.
π: 0 β©: 0
ElCidxx [2014-10-01 13:09:31 +0000 UTC]
Hello John, π: 0 β©: 0
first of all, thanks for your calendar, it's really what I was looking for!
Trying to add some events, I ran into the same issue noticed by v3rpin in Nov 2012 (pag. 7-8): without the repeat="..." argument in the
Thanks again,
Syd
fred-miaou In reply to ??? [2014-07-27 22:05:39 +0000 UTC]
Bug with pipe !
I tried with:
EventFile="E:\Win 8\Sauvegardes\Program Source\Customisation\rainmeter\Calendriers\file 1.xml"|"E:\Win 8\Sauvegardes\Program Source\Customisation\rainmeter\Calendriers\file 2.xml"
OR
EventFile="E:\Win 8\Sauvegardes\Program Source\Customisation\rainmeter\Calendriers\file 1.xml"|file 2.xml
With or without quotes.
Doesn't work and produce an error in log : Script: CScript.Lua:593: bad argument #1 to 'format' (string expected, got no value)
Using those files separately works.
So frustrating. I will apreciate some help or solution for this.
Plus another bug if title used:
Β Β Β
Will only show -Anniversaires
While
Β Β Β
works as expected.
Thanks
π: 0 β©: 1
smurfier In reply to fred-miaou [2014-07-28 18:24:06 +0000 UTC]
For the pipe problem, it is actually:
EventFile=E:\Win 8\Sauvegardes\Program Source\Customisation\rainmeter\Calendriers|file 1.xml|file 2.xml
Your first event works perfectly fine for me, granted that I'm using a newer version of the script with several issues fixed.
I hope to release a new version within the next few days.
π: 0 β©: 1
fred-miaou In reply to smurfier [2014-07-30 03:22:23 +0000 UTC]
How can we be notified for a new release?
π: 0 β©: 0
Pul53dr1v3r [2014-07-20 15:40:11 +0000 UTC]
how to make a holiday that appears just in one year, no repeats? Β
π: 0 β©: 0
smurfier In reply to Pul53dr1v3r [2014-06-21 00:55:38 +0000 UTC]
I'm working on it. Trouble is that I have work, a life, and I'm making sure it works with the newer script that I'm using.
π: 0 β©: 1
Pul53dr1v3r In reply to smurfier [2014-06-21 08:50:48 +0000 UTC]
No problem mate. Β I just wanted to know that you are working on it. I've Β no doubt in your success.
π: 0 β©: 1
smurfier In reply to Pul53dr1v3r [2014-06-21 13:39:34 +0000 UTC]
Just so you know... I'll probably just update the skin with a new variable for Orthodox Easter.
π: 0 β©: 2
Pul53dr1v3r In reply to smurfier [2014-07-20 16:01:33 +0000 UTC]
If you didn't do it, here is a code for Orthodox Easter. Not tested:
function OrthodoxΒ Easter()
golden = (year % 19) + 1
c = math.floor(year/400) + math.floor(8*(math.floor(year/100) + 11) / 25) - math.floor(year/100)
s = (11 * golden + c) % 30
if (s < 0) then
s = s + 30
end
pfm = os.time{year=year, month=4, day=19} - s * 24 * 60 * 60
if (pfm == os.time{year = year, month = 4, day = 19}) then
pfm = pfm - 24 * 60 * 60
elseif (pfm == os.time{year = year, month = 4, day = 18} and golden > 11) then
pfm = pfm - 24 * 60 * 60
end
sunday = pfm + (7 - tonumber(os.date("%w", pfm))) * 24 * 60 * 60
return {year = year, month = tonumber(os.date("%m", sunday )), day = tonumber(os.date("%d", sunday ))}
end
π: 0 β©: 0
Pul53dr1v3r In reply to smurfier [2014-06-22 08:14:15 +0000 UTC]
Ok. Just let me know when you have finished it.
π: 0 β©: 0
Pul53dr1v3r [2014-06-17 13:29:24 +0000 UTC]
hi. Help me pls to edit the code and "match" the dates of Orthodox Easter Β in the Calendar as the built in Holiday (as you know, the Easter is a movable feast). It could take some doing, but here is a helpful link about it: www.smart.net/~mmontes/ortheasβ¦
Read from "Orthodox Churches" title. I would greatly appreciate your help!
This is the formula:Β
G = year % 19
I = (19*G + 15) % 30
J = (year + year/4 + I) % 7
L = I - J
EasterMonth = 3 + (L + 40)/44
EasterDay = L + 28 - 31*(EasterMonth/4)
_________________________
G is the Golden Number-1
I is the number of days from 21 March to the Paschal full moon
J is the weekday for the Paschal full moon (0=Sunday, 1=Monday, etc.)
L is the number of days from 21 March to the Sunday on or before the Pascal full moon (a number between -6 and 28).
π: 0 β©: 0
congtucodon2007 In reply to ??? [2014-06-02 03:49:26 +0000 UTC]
How can i show current holiday tooltip as the text
π: 0 β©: 1
smurfier In reply to congtucodon2007 [2014-06-02 05:19:44 +0000 UTC]
You want to display the holiday text instead of the day number?
π: 0 β©: 1
congtucodon2007 In reply to smurfier [2014-06-02 10:58:33 +0000 UTC]
i wan to get this text to display in somewhere in calender.Β
π: 0 β©: 0
congtucodon2007 In reply to ??? [2014-06-02 03:47:45 +0000 UTC]
How to show current holiday as the text.Β
π: 0 β©: 0
Pul53dr1v3r In reply to ??? [2014-06-01 19:47:37 +0000 UTC]
hi. How to keep the [WeekendStyle] color unchanged if a weekend day is the [CurrentDay]?
Example: 1st June should be red as a weekend day.Β
postimg.org/image/u94r9l5k1/
π: 0 β©: 3
smurfier In reply to Pul53dr1v3r [2014-06-02 02:36:06 +0000 UTC]
Actually, my previous suggestion wouldn't work. What you want would require a wide scale change in the script.
π: 0 β©: 0
smurfier In reply to Pul53dr1v3r [2014-06-02 02:33:03 +0000 UTC]
The only way to make that work is to remove the FontColor from [CurrentDay].
π: 0 β©: 0
Pul53dr1v3r In reply to Pul53dr1v3r [2014-06-01 19:54:58 +0000 UTC]
it works with Events perfectly, but doesn't with weekends.
π: 0 β©: 0
Pul53dr1v3r In reply to ??? [2014-05-13 13:10:21 +0000 UTC]
hi. Nice calendar! Just tell me how to define Sunday as the only weekend day? I would like to change all Sunday dates to one different color.
π: 0 β©: 1
smurfier In reply to Pul53dr1v3r [2014-05-13 21:50:31 +0000 UTC]
Open CScript.lua.
Line 423 should look like this:
elseif (meter % 7) == 0 or (meter % 7) == (Settings.StartOnMonday and 6 or 1) then
Change it to this:
elseif (meter % 7) == (Settings.StartOnMonday and 6 or 1) then
That should do what you are asking for.
π: 0 β©: 1
Pul53dr1v3r In reply to smurfier [2014-05-14 02:25:36 +0000 UTC]
Β it changes the Saturday but this is what i did and it works now elseif (meter % 7) == 0 or (meter % 0) == (Settings.StartOnMonday and 6 or 1) Β Thx anyway!Β
π: 0 β©: 0
n-thro [2014-02-24 22:57:08 +0000 UTC]
Hi, I really love Lua Calendar. Great work.
Just wondering, in case that weekend day is also a holiday, whether it is possible to show the color of holiday instead of weekend day.
I do not want to use an awkward solution of manualy setting color to all holidays individually.
Thanks a lot.
π: 0 β©: 1
smurfier In reply to n-thro [2014-02-25 01:43:28 +0000 UTC]
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
π: 0 β©: 1
smurfier In reply to n-thro [2014-02-25 14:40:23 +0000 UTC]
No problem. This had been added to future releases.
π: 0 β©: 0
gsim94 [2014-02-05 05:20:03 +0000 UTC]
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!!
π: 0 β©: 1
smurfier In reply to gsim94 [2014-02-05 15:11:16 +0000 UTC]
Hold down the cCtrl button while you right click on the skin.
π: 0 β©: 0
mercury52 In reply to ??? [2013-12-31 21:40:58 +0000 UTC]
Great functional calendar. Just what I've been looking for.
π: 0 β©: 0
greyhndz In reply to ??? [2013-12-10 05:58:57 +0000 UTC]
Thank you, my friend. I'm been searching for a simple monthly calendar and calculator and now I've got both. Much appreciated!!
π: 0 β©: 0
startreksuite [2013-11-03 14:46:25 +0000 UTC]
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.
π: 0 β©: 1
smurfier In reply to startreksuite [2013-11-03 15:38:24 +0000 UTC]
Please join me on the Rainmeter IRC Web Chat: webchat.freenode.net/?channelsβ¦
π: 0 β©: 0
domDeviantArt In reply to ??? [2013-10-26 10:47:21 +0000 UTC]
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
π: 0 β©: 0
hora-hora [2013-06-24 19:11:54 +0000 UTC]
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.
π: 0 β©: 1
smurfier In reply to hora-hora [2013-06-24 21:12:43 +0000 UTC]
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.
π: 0 β©: 1
hora-hora In reply to smurfier [2013-06-24 22:11:04 +0000 UTC]
Aw yeah, lowering C.h value did the trick, thanks for the support!
π: 0 β©: 0
Dr-Xperience In reply to ??? [2013-05-27 19:03:35 +0000 UTC]
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.
π: 0 β©: 1
smurfier In reply to Dr-Xperience [2013-05-27 20:51:29 +0000 UTC]
Do you have an image in mind or would a defined color be an ok background?
π: 0 β©: 0
Dr-Xperience In reply to ??? [2013-05-27 18:10:43 +0000 UTC]
Cool I was looking for something like this from long . And finaaly got
Good Job
Thanks [link]
π: 0 β©: 0
Meherjan [2013-05-23 11:54:11 +0000 UTC]
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?
π: 0 β©: 0
jafarc In reply to ??? [2013-03-03 08:17:51 +0000 UTC]
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
π: 0 β©: 1
smurfier In reply to jafarc [2013-03-03 12:08:16 +0000 UTC]
Are you running the latest Rainmeter 2.5 beta?
π: 0 β©: 0
ney2x [2013-02-26 13:51:24 +0000 UTC]
I modified this to blend with my other skins, I hope you don't get mad at me. Here's the screenshots ---> [link]
π: 0 β©: 1
smurfier In reply to ney2x [2013-02-26 14:21:31 +0000 UTC]
That would be the point of having all the customization options.
π: 0 β©: 0
craziloco [2013-01-03 01:05:38 +0000 UTC]
yes, it worked very well ..... thanks for the help and wish you a happy new year ....
π: 0 β©: 0
| Next =>