Error 403 from Google Calendar? Upgrade to the new Google Calendar support. See here for details. close
Welcome, Guest
Please Login or Register.    Lost Password?

Rainlendar_GetVariable and Rainlendar_SetVariable
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Rainlendar_GetVariable and Rainlendar_SetVariable
#13640
Rainlendar_GetVariable and Rainlendar_SetVariable 4 Years ago  
After my Circular calendar, i'm trying another layout.

This work fine (GetVariable)
Code:

alignment = Rainlendar_GetVariable(skin1, window1, "Alignment")

This doesn't work (SetVariable)
Code:

if alignment == "HORIZONTAL" then
    Rainlendar_SetVariable(skin1, window1, "Test", "0")
  else
    Rainlendar_SetVariable(skin1, window1, "Test", "1")
  end
 


Test is "1" by default, but it doesn't matter what the value of alignment is, after SetVariable "Test" keep as "1".

The problem isn't skin1 and window1, because i don't have any problem getting, but this not true when setting. (I'm trying to get/set %Show_weekdays% without user intervention)

By the way, looking for my errors on logfile i found this:

WARNING: The element already exists "font.small".
font.small is duplicated in widget addon. In shadow4 the size is 6, and in widget addon the size is 7.
WARNING: Unknown align: LEFT-TOP
According to item position, in "Horizontal Line Calendar" it says "LEFT-TOP" instead of "TOP-LEFT"
CTrayIcon::UpdateIcon(): Unable to find the image ""
The tray icon is trying to update, but i have none tray icon selected.

12:32:46: [0:00:00.125] Category file: C:\Documents and Settings\MyUser\.rainlendar2\categories.ini
12:32:46: Warning: '/..' has extra '..', ignored.
12:32:46: [0:00:00.125] DEBUG: Scanning folder for skins: c:\Archivos de programa\Rainlendar2\skins\

Something's happening between categories and skin scanner... but don't know what.

I'm uploading my calendars to jlourigse.comlu.com/rainlendar.html , there are some images of what i'm trying to do.
Jorge_Luis
Platinum Boarder
Posts: 795
graphgraph
User Offline Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
The administrator has disabled public write access.
 
#13681
Re: Rainlendar_GetVariable and Rainlendar_SetVariable 4 Years ago  
Yep, the Rainlendar_SetVariable() is broken. I'll fix that. I'll also get rid of (at least some of) the unnecessary errors in the log.

Nice work with the skin addons.
Rainy
Moderator
Posts: 6045
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#13687
Re: Rainlendar_GetVariable and Rainlendar_SetVariable 4 Years ago  
Thanks!
I hope someone use it from now on
Jorge_Luis
Platinum Boarder
Posts: 795
graphgraph
User Offline Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
The administrator has disabled public write access.
 
#14967
Re: Rainlendar_GetVariable and Rainlendar_SetVariable 3 Years, 7 Months ago  
In lastest version(b104), Rainlendar_SetVariable() does not work again, but the previous version(b103) works fine.
anoob
Platinum Boarder
Posts: 508
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: TaiChung, Taiwan, R.O.C. Birthday: 02/12
Last Edit: 2011/04/10 19:15 By anoob.
The administrator has disabled public write access.
I couldn't speak English! This skin released to Customize.org(Do you want it? Click Picture) Please contact me if interested: jhg5702@gmail.com
 
#14982
Re: Rainlendar_GetVariable and Rainlendar_SetVariable 3 Years, 7 Months ago  
Ok, it's not possible to create new variables anymore but changing the value of an existing one should work still. I'll see what was changed.
Rainy
Moderator
Posts: 6045
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#14992
Re: Rainlendar_GetVariable and Rainlendar_SetVariable 3 Years, 7 Months ago  
Yes, my mean is that it can not change an existing one.
anoob
Platinum Boarder
Posts: 508
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: TaiChung, Taiwan, R.O.C. Birthday: 02/12
Last Edit: 2011/04/12 11:57 By anoob.
The administrator has disabled public write access.
I couldn't speak English! This skin released to Customize.org(Do you want it? Click Picture) Please contact me if interested: jhg5702@gmail.com
 
Go to topPage: 12
get the latest posts directly to your desktop