Welcome, Guest
Please Login or Register.    Lost Password?

Keystrokes for new todo and event
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Keystrokes for new todo and event
#552
Keystrokes for new todo and event 7 Years, 10 Months ago  
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

CareyB
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
I'm willing to put up with you, if you're willing to put up with me.
 
Go to topPage: 1
get the latest posts directly to your desktop