It is currently March 28th, 2024, 12:53 pm

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.
tkolman
Posts: 23
Joined: November 11th, 2009, 1:03 pm

Re: LuaCalendar

Post by tkolman »

That worked... THANK YOU!
Judian81
Posts: 180
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: 79
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: 5380
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

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: 79
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: 79
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: 5380
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

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: 79
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.
Post Reply