Page 4 of 5

Re: LuaCalendar

Posted: April 23rd, 2012, 11:18 am
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?

Re: LuaCalendar

Posted: April 23rd, 2012, 2:06 pm
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.

Re: LuaCalendar

Posted: April 23rd, 2012, 2:40 pm
by tkolman
That worked... THANK YOU!

Re: LuaCalendar

Posted: September 5th, 2021, 1:44 pm
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.

Re: LuaCalendar

Posted: March 14th, 2023, 1:21 pm
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.

Re: LuaCalendar

Posted: March 14th, 2023, 10:03 pm
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

Re: LuaCalendar

Posted: March 15th, 2023, 7:46 am
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

Re: LuaCalendar

Posted: March 16th, 2023, 8:17 am
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')))

Re: LuaCalendar

Posted: March 16th, 2023, 12:36 pm
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:

Re: LuaCalendar

Posted: March 21st, 2023, 10:15 am
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.