Welcome, Guest
Please Login or Register.    Lost Password?

Using QuickAdd from the command line
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Using QuickAdd from the command line
#13297
Using QuickAdd from the command line 3 Years, 11 Months ago  
Do you think it would be possible to write some Lua to handle a case like this? The API reference doesn't quite cover this kind of possibility.

Or should this be moved to feature requests?
progo
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#13299
Re:Using QuickAdd from the command line 3 Years, 11 Months ago  
I'm not exactly sure what you are asking. There is a Lua function Rainlendar_QuickAdd() that is called in event.lua and isn't document in the help.

There is also a Rainlendar feature to add events from the commandline: rainlendar -a "Go to the store tomorrow" for which I would guess is sent to the Global_QuickAdd() function inside events.lua... (which shouldn't be edited)

Otherwise I do not think you can manipulate the text coming in from a Quick Add.

Edit:: Thanks, I just remembered to check for a Quick Add window that could take input... I think this will really help me in making something else.
he_the_great
Expert Boarder
Posts: 128
graphgraph
User Offline Click here to see the profile of this user
Nascent hethegreat
Last Edit: 2010/09/23 14:00 By he_the_great.
The administrator has disabled public write access.
 
#13301
Re:Using QuickAdd from the command line 3 Years, 11 Months ago  
Oh yes, I was looking for the command line switch, -a. Honestly I couldn't think of Rainlendar having any command line arguments but there you go. Thanks and you're welcome.
progo
Fresh Boarder
Posts: 7
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