From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Urs Rau (UK)" Subject: org-mac-protocol usage example Date: Tue, 21 Dec 2010 22:02:27 +0000 Message-ID: <716E61BC-1F5A-462A-9124-30FBCC6EA02A@uk.om.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=34998 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVAII-000251-G2 for emacs-orgmode@gnu.org; Tue, 21 Dec 2010 17:02:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVAIG-0006qX-TF for emacs-orgmode@gnu.org; Tue, 21 Dec 2010 17:02:54 -0500 Received: from mail1.itdojo.org ([217.33.40.109]:14137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVAIG-0006pd-IK for emacs-orgmode@gnu.org; Tue, 21 Dec 2010 17:02:52 -0500 Received: from QTS-FE1.global.local ([10.245.0.20]) by mail1.itdojo.org (8.13.1/8.13.1) with ESMTP id oBLM2TuX031727 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 21 Dec 2010 22:02:36 GMT Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Sorry, if this is soo obvious to all you regular emacs and org-mode users. = But I am a newbie when it comes to emacs and especially org-mode, I just do= n't see the tree for the forrest. I have installed the org-mac-protocol as per it's webpage at=20 https://github.com/claviclaws/org-mac-protocol/blob/master/org-mac-protocol= .org I am running on Snow Leopard 10.6.5 under "GNU Emacs 23.2.1 (x86_64-apple-d= arwin, NS apple-appkit-1038.29) of 2010-05-09 on black.local" and in the In= stall instructions o that page, I made it all the way down to=20 > and add org-mac-protocol to External packages >=20 > Start emacsserver > (server-start) >=20 > Create *Remember* templates And here is where I get "stuck", the sample;e templates don't make sense to= me, and besides I already have working ones in my .emacs anyway, one for t= odos and one for notes. How do these templates relate to either org-capture or org-remember? And wh= at are the default selectors? Is it "t" for todo and "n" for notes? I have the following org-capture templates already working for me > (setq org-capture-templates > '(("t" "Agenda Todo" entry > (file+datetree "~/org/tasksnotes.org" ) > "\n\n** TODO %?\n%T\n\n%i\n%a\n\n\n" > :empty-lines 1) >=20 > ("n" "Agenda Notes" entry > (file+datetree "~/org/tasksnotes.org" ) > "\n\n** %?\n%T\n%i\n%a\n\n\n" > :empty-lines 1))) How or where do I now save or put the applescript? and how or where from do= I call it up? What are the steps I have to do, leading up to a new todo or= note being saved to the named buffers. I have the *.scpt files in the ~/Library/Scripts/ folder (which I had to cr= eate btw)=20 A very simple one or two sample in a step by step format would help e great= ly. maybe one for iCal for creating a todo from an iCal event and one for a= note for an apple mail item?=20 step 1 open ical step 2 highlight or mark event step 3 ???? step 4 ??? step 5 switch to emacs and find new todo in ..... Thanks for any help or pointers, Regards, --=20 Urs Rau