Here's a clip from some new functions I set up, so I could assign hotkeys. Really I just copied, and renamed them, but it does mean you can quickly insert an event, or todo item without using the mouse.
| Code: |
--
-- Pretty simple! Copied from the windows.lua, and renamed.
-- File wants to be in the Rainlendar install directory's scripts
-- sub-directory. I don't think the name matters as long as the
-- extension is correct.
-- ...cb
--
--
-- Opens the todo dialog.
--
-- Parameters:
-- None
-- Return:
-- None
--
function Hotkey_New_Todo()
Rainlendar_OpenDialog("Todo"«»)
end
--
-- Opens the event dialog.
--
-- Parameters:
-- None
-- Return:
-- None
--
function Hotkey_New_Event()
Rainlendar_OpenDialog("Event"«»)
end
|