Welcome, Guest
Please Login or Register.    Lost Password?

Toggle Dual Calendar
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Toggle Dual Calendar
#14730
Toggle Dual Calendar 3 Years, 6 Months ago  
I'd like to use the single left-click function of the tray-icon to toggle not all available windows, but only the specified one (in my case the Dual Calendar).
Now it's been said on the forums that you can achieve this by scripting.

Which file do i need to edit? Does the script have to be in the rainlendar/scripts folder or in the scripts folder inside the skin?

How would the edit look like?

Sorry i'm not experienced in scripting..
I'm using the normal shadow4 skin.
Tobert
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/03/12 16:37 By Tobert.
The administrator has disabled public write access.
 
#14732
Re:Toggle Dual Calendar 3 Years, 6 Months ago  
Create a file (e.g. hotkeysToggleWindow.lua) on the Rainlendar/scripts folder, and copy the code below. After that, go to the options dialog and change the action to this new hotkey.

Code:


function Hotkey_Toggle_One_Window()
  value = "Shadow4::Dual Calendar"
  if Rainlendar_IsWindowVisible(value) then
    Rainlendar_HideWindow(value)
  else
    Rainlendar_ShowWindow(value)
  end
end



This will work if you have only 1 Dual Calendar. If you have 2 or more, tell me and I will try to do a bigger code.
Jorge_Luis
Platinum Boarder
Posts: 795
graphgraph
User Online Now 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.
 
#14733
Re:Toggle Dual Calendar 3 Years, 6 Months ago  
so awesome!

thank you very much

(had a little fight but then got it working with 'save without BOM')
Tobert
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop