DCOP interface to korganizer
Hi all! Is it possible to get via DCOP all appointments and tasks (if they have a date assigned) in a given date interval? I've always wanted to write a small script that does a simple ASCII "dump" of my next appointments (to include in mails or whatever). So far I have no idea how to achieve such a thing. I'm not even sure if DCOP is the right way to go. Unfortunately I can't make much of the information I found. Like KCalendarIface::ResourceRequestReply resourceRequest (QValueList<QDateTimePair> busy,QCString resource,QString vCalIn) What would I be supposed to pass to that method? What does it return exactly? And how do I have to treat the return value? Or do I better just directly parse ~/.kde/share/apps/korganizer/std.ics Any hint would be greatly appreciated, Ingo -- Ingo Strauch ---- Registered Linux User #227900 (http://counter.li.org/) GPG Key Fingerprint = DEC8 1B12 9573 6BE7 7A99 C33F 809C 8C2C 772E 66A1 http://www.the-one-brack.org/
On Tuesday 28 February 2006 08:15, Ingo Strauch wrote:
Hi all!
Is it possible to get via DCOP all appointments and tasks (if they have a date assigned) in a given date interval? I've always wanted to write a small script that does a simple ASCII "dump" of my next appointments (to include in mails or whatever).
konsolekalendar is the tool for this job. Excerpt from konsolekalendar --help: " konsolekalendar --view konsolekalendar --add --date 2003-06-04 --time 10:00 --end-time 12:00 \ --summary "Doctor Visit" --description "Get My Head Examined" konsolekalendar --delete --uid KOrganizer-1740326.803 " HTH Will
Hi! On Tue, 28 Feb 2006 14:51:58 +0100 Will Stephenson <wstephenson@suse.de> wrote:
On Tuesday 28 February 2006 08:15, Ingo Strauch wrote:
Is it possible to get via DCOP all appointments and tasks (if they have a date assigned) in a given date interval? I've always wanted to write a small script that does a simple ASCII "dump" of my next appointments (to include in mails or whatever).
konsolekalendar is the tool for this job. Excerpt from konsolekalendar --help: " konsolekalendar --view konsolekalendar --add --date 2003-06-04 --time 10:00 --end-time 12:00 \ --summary "Doctor Visit" --description "Get My Head Examined" konsolekalendar --delete --uid KOrganizer-1740326.803 "
Wow, great! I didn't know this tool. Looks like it does what I need. I probably have to do some formatting of the output but that should be doable. Many thanks! Ingo -- Ingo Strauch ---- Registered Linux User #227900 (http://counter.li.org/) GPG Key Fingerprint = DEC8 1B12 9573 6BE7 7A99 C33F 809C 8C2C 772E 66A1 http://www.the-one-brack.org/
participants (2)
-
Ingo Strauch
-
Will Stephenson