It is currently March 29th, 2023, 9:34 am

LuaCalendar

Clocks and timer skins
tkolman
Posts: 23
Joined: November 11th, 2009, 1:03 pm

Re: LuaCalendar

Post by tkolman »

Since upgrading to 2.3 beta r1320 the calendar does not start with all other skins; just the top menu (no month/day display). Simply moving the mouse over heading group will then display month/days correctly. Any ideas?
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: LuaCalendar

Post by smurfier »

Please upgrade to the currently posted version of LuaCalendar (warning, the format for the holidays file has changed) then tell me if there are any error messages in the About dialog.
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 . . .
tkolman
Posts: 23
Joined: November 11th, 2009, 1:03 pm

Re: LuaCalendar

Post by tkolman »

That worked... THANK YOU!
User avatar
Judian81
Posts: 176
Joined: May 6th, 2021, 2:57 pm

Re: LuaCalendar

Post by Judian81 »

smurfier wrote: April 23rd, 2012, 2:06 pmtell me if there are any error messages in the About dialog.
there are no error's in about dialog.

i have view things to say. i do not see any holiday's in the calendar. <--- i have nothing said.
if i refresh to default all the month names desappear.
there is no background i can select.

you have made a beatifull skin. thanks for that.
User avatar
pds
Posts: 66
Joined: April 12th, 2014, 12:52 pm
Location: Slovakia

Re: LuaCalendar

Post by pds »

I can't use 2 event files at once. They are in the same folder. holidays.xml (original file) and custom.xml.
Rainmeter reports an error : "LoadEvents: : File read error: Custom.xml" and "LoadEvents: : Invalid event file: Custom.xml"

Settings.inc :
EventFile=#@#Calendars\Holidays.xml|Custom.xml

when I use the calendars separately, everything is fine, but they don't work together.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5045
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: LuaCalendar

Post by eclectic-tech »

pds wrote: March 14th, 2023, 1:21 pm I can't use 2 event files at once. They are in the same folder. holidays.xml (original file) and custom.xml.
Rainmeter reports an error : "LoadEvents: : File read error: Custom.xml" and "LoadEvents: : Invalid event file: Custom.xml"

Settings.inc :
EventFile=#@#Calendars\Holidays.xml|Custom.xml

when I use the calendars separately, everything is fine, but they don't work together.
Have you tried using the entire path for each event file?
EventFile=#@#Calendars\Holidays.xml|#@#Calendars\Custom.xml
User avatar
pds
Posts: 66
Joined: April 12th, 2014, 12:52 pm
Location: Slovakia

Re: LuaCalendar

Post by pds »

eclectic-tech wrote: March 14th, 2023, 10:03 pm Have you tried using the entire path for each event file?
EventFile=#@#Calendars\Holidays.xml|#@#Calendars\Custom.xml
of course, I tried this variant as well as all the others. Same result-error
User avatar
pds
Posts: 66
Joined: April 12th, 2014, 12:52 pm
Location: Slovakia

Re: LuaCalendar

Post by pds »

I found a bug in the CScript.lua script. Need to fix the line

Code: Select all

LoadEvents(ExpandFolder(Delim(Get.Variable('EventFile'))))
to
LoadEvents(Delim(Get.Variable('EventFile')))
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5045
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: LuaCalendar

Post by eclectic-tech »

pds wrote: March 16th, 2023, 8:17 am I found a bug in the CScript.lua script. Need to fix the line

Code: Select all

LoadEvents(ExpandFolder(Delim(Get.Variable('EventFile'))))
to
LoadEvents(Delim(Get.Variable('EventFile')))
I don't beleive that is needed...
In looking at the 'options.ini' format for multiple event files, my CScript.lua (V6.0) works if I use this format for the multiple event files variable like this:

EventFile=#@#Calendars|custom.xml|Holidays.xml

The first parameter is the path to your calendar event files followed by a |, then only the events file names separated by |.

EDIT: WAIT!, This sometimes crashes the calendar... will keep looking... :uhuh:
User avatar
pds
Posts: 66
Joined: April 12th, 2014, 12:52 pm
Location: Slovakia

Re: LuaCalendar

Post by pds »

eclectic-tech wrote: March 16th, 2023, 12:36 pm I don't beleive that is needed...
In looking at the 'options.ini' format for multiple event files, my CScript.lua (V6.0) works if I use this format for the multiple event files variable like this:

EventFile=#@#Calendars|custom.xml|Holidays.xml

The first parameter is the path to your calendar event files followed by a |, then only the events file names separated by |.

EDIT: WAIT!, This sometimes crashes the calendar... will keep looking... :uhuh:
This work. Thank you.