[kdepim-users] How to write a contact URI ?

Olivier oza-4h07 at myamail.com
Wed Apr 30 13:39:40 BST 2008


Hi,

When editing a new event with Korganizer, you have the ability to include
URIs such as directions to join a party or documents someone must before
attending a meeting.
When this event is supposed to start, an alarm window would include those
URI so that a simple click over them would pop them up.

I would like to include in such event enclosed files, a pointer to a given
contact (present inside a given Kaddressbook vCard file).

Using this, I could easily point the whole address book
("file://home/bob/pro.vcf") but I can't find a way to narrow this address
book to couple of contacts matching some criteria.

Is there a way to have something like "protocol://home/bob/pro.vcf/addr?
bob at example.com" so that, whenever you click over such URI, Kaddressbook
would directly display the search contact window with contacts matching
bob at example.com in email address field ?

I prefer this search contact window over edit contact windows as you can
click over contact's phone number or IM address to call or chat with.


If I could find a URI to link a contact's email address, with this search
contact window, I would be able to program phone calls :
1. edit an event pointing to the contact URI you're planning to call,
2. when the event is supposed to start, Korganizer will notify this with a
short text AND your contact's URI
3. you click over your contact's URI and you're contact file appears
3. now you can pick one of his phone numbers and with click2call feature,
it's done !!

I'm using 3.5.6 Kadressbook/1.2.4 Kontact
kaddressbook shows a command line option to popup contact editor but I
couldn't find any API or command line to popup contact search window.

Can anyone help ?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20080430/30554c81/attachment.html>
-------------- next part --------------
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users


More information about the kdepim-users mailing list