NisseDILLIGAF wrote:I can't figure out how to make a condition for all day event...
should i make a Calc measure that checks [mGcal1_Start] ??
For the moment there is no way to check wether an event is all day or not. But since I'm a very new user of Rainmeter (just 1 week), maybe I missed something in the docs...
NisseDILLIGAF wrote:well, I've been trying to get my head around how the plugin works..
I know, I need to write some documentation. And the fact that the measure are made with some reflection in the code does not help...
poiru wrote:I don't think you should generate include files in the plugin. I think you should instead consider a parent-child approach like in this example.
I already use the "parent - child" pattern : the parent retrieve the events once and children retrieve specific field on specific event (for exemple "the Start field on event 3").
I generate the include files in the plugin because there is no way to make loop in skins (or I did not see it ?) and because those files are huge if you want to display 50 events (it's the same block repeated 50 times). Plus they are only generated during the "Reload" not during the "Update" (don't need to write the files on every update).
A small precision : the include files don't contain any data, they just contain simple measures and meters and you can skip this generating process (leave the "Path" parameters blank).
If you have any idea on how to do it in a simplier way, I take it.
Thanx...
all day is working great... I added WeekDateFormat to [mGcal{0}_Start] to get it as I want
EDIT: just noticed that the weekday is missing in week if I do this...
I have worked on a API v3 implementation and it seems quite stable. However, the v3 need some private authentication tokens and I can't give mine off course
I will try to commit the v3 version ASAP but I need to move these tokens on the configuration section so anyone could use it.
I have just commit the code to Github with the Google API v3 support.
A new rmskin package is available in my first post. Sorry by there's only a 64 bits version (can't build for 32 bits don't know why and too busy to find out).
There are 4 new variables in Variables.inc file :
mGcal.GoogleClientId : Google Client ID
mGcal.GoogleClientSecret : Google client secret key
mGcal.GoogleAppName : Google app name
mGcal.GoogleUserName : Google user name (your gmail account)
Having DL'd the PGCal 1.1.0 and double clicking to install it, I get an error message stating "The Skin Packager tool must be used to create valid .rmskin packages".