Welcome, Guest
Please Login or Register.    Lost Password?

More hotkeys actions & ToodleDo integration
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: More hotkeys actions & ToodleDo integration
#12485
More hotkeys actions & ToodleDo integration 4 Years, 2 Months ago  
I'd like more options to be available for the hotkey treatment. For example, I'd like to be able to add a hotkey to bring up the 'Manager' window.

I'd also like to be able to display and manipulate ToDo items from my ToodleDo account.

Thanks.
andygrunt
Expert Boarder
Posts: 93
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#12494
Re: More hotkeys actions & ToodleDo integration 4 Years, 2 Months ago  
Just open the hotkeys.lua and add this to it to open the manager:

Code:


function Hotkey_Show_Manager()
  Rainlendar_OpenDialog("Manager")
end



Here's how to enable and disable a certain calendar (replace the "Default" with the name of your calendar):

Code:


function Hotkey_Enable_Calendar()
  Rainlendar_EnableCalendar("Default", 1)
  Rainlendar_Redraw(0)
end

function Hotkey_Disable_Calendar()
  Rainlendar_EnableCalendar("Default", 0)
  Rainlendar_Redraw(0)
end

Rainy
Moderator
Posts: 5940
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#12496
Re:More hotkeys actions & ToodleDo integration 4 Years, 2 Months ago  
Re adding a hotkey for the Manager window... Brilliant! it works a treat. Guess I need to be careful when I install a new Beta not to overwrite the lua file, right?

It does make me wonder why you don't just add everything into that hotkeys lua file that can be given a hotkey.

I'm really puzzled by the code you added to enable and disable a certain calendar. Is that related to my ToodleDo question? If so, I don't get it I'm afraid - can you explain further please?

Thanks.
andygrunt
Expert Boarder
Posts: 93
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#12504
Re:More hotkeys actions & ToodleDo integration 4 Years, 2 Months ago  
You can create a new file with .lua extension and put your own functions to there so they don't get overwritten when you install a new version.
Rainy
Moderator
Posts: 5940
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#12507
Re:More hotkeys actions & ToodleDo integration 4 Years, 2 Months ago  
Rainy wrote:
You can create a new file with .lua extension and put your own functions to there so they don't get overwritten when you install a new version.

Ok, thanks. All this LUA stuff is new to me.
andygrunt
Expert Boarder
Posts: 93
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#17255
Re:More hotkeys actions & ToodleDo integration 2 Years, 3 Months ago  
Thank you Rainy. Though not being a total newbie, all these useful things are hard to find for someone who is not a rainlendar expert. Thanks!
Sven2
Fresh Boarder
Posts: 19
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