Re: [Orgmode] org-mac-addressbook.el

2010-03-22 Thread Christopher Suckling
On Sun, 21 Mar 2010 18:32:17 +0100, Carsten Dominik carsten.domi...@gmail.com 
wrote:

 this is awesome, thank you very much.

Quite so.

 I would like to integrate this into org-mac-message.el - I don't
 think it makes much sense to put this into a separate file.

My inclination is to integrate it into the almost complete
org-mac-protocol. It seems to be working robustly on my system, but
could use some better error handling at the AppleScript level in case
things do go wrong.

http://github.com/claviclaws/org-mac-protocol

That way there is one consistent method of sending data to orgmode from
OS X applications.


 Christopher, could I ask you to verify this code and work together
 with Alexander on integrating it (if Alexander agrees, of course).


I'll take a closer look in the next couple of days.

Best, Christopher


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-mac-addressbook.el

2010-03-22 Thread Alexander Poslavsky

On Mar 23, 2010, at 12:51 AM, Christopher Suckling wrote:
snip
 
 My inclination is to integrate it into the almost complete
 org-mac-protocol. It seems to be working robustly on my system, but
 could use some better error handling at the AppleScript level in case
 things do go wrong.
 
 http://github.com/claviclaws/org-mac-protocol
 
 That way there is one consistent method of sending data to orgmode from
 OS X applications.
 
 
 Christopher, could I ask you to verify this code and work together
 with Alexander on integrating it (if Alexander agrees, of course).
 
 
 I'll take a closer look in the next couple of days.
 
 Best, Christopher

Sounds good to me. I have been looking at other apps that I use as well, and I 
would like to integrate netnewswire as well, it's applescript is fine. Colloquy 
is the last app I regularly use, but I have not yet found out how to script 
that.

thanks,
alex___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-mac-addressbook.el

2010-03-21 Thread Alexander Poslavsky
Hello,

playing around with mac integration and org (using org-mac-protocol) I wrote 
mac address-book integration. It is slightly based on org-mac-message. It is 
the first ever lisp and/or applescript I ever wrote, so … but it works.

New hyperlink: [[address:BC70B043-0144-4AC1-9FFA-9D33F04C8B8A:ABPerson][Name]], 
which, when clicked will open the entry in the address book. It works for both 
persons as companies.

Adding a link to org is done using org-remember (and quicksilver).

thanks,

Alex

Attached: a diff to getItemMetadata from org-mac-protocol, and a new file 
called org-mac-addressbook



getItemMetadata.applescript.diff
Description: Binary data




org-mac-addressbook.el
Description: Binary data



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode