From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haider Rizvi Subject: Re: Alfred workflow for org-capture Date: Thu, 12 Sep 2013 14:51:14 -0400 Message-ID: References: <5231CF53.9060604@sift.info> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKBzu-0003Wx-KE for emacs-orgmode@gnu.org; Thu, 12 Sep 2013 14:52:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKBzo-0004xk-F5 for emacs-orgmode@gnu.org; Thu, 12 Sep 2013 14:52:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:41599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKBzo-0004xc-7J for emacs-orgmode@gnu.org; Thu, 12 Sep 2013 14:52:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VKBzO-0005Kv-MN for emacs-orgmode@gnu.org; Thu, 12 Sep 2013 20:51:38 +0200 Received: from cpe74ea3aa5e028-cmbc1401ea12e0.cpe.net.cable.rogers.com ([174.112.43.216]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Sep 2013 20:51:38 +0200 Received: from harizvi by cpe74ea3aa5e028-cmbc1401ea12e0.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Sep 2013 20:51:38 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "Robert P. Goldman" writes: > Does anyone have a workflow for the Alfred Mac app launcher that will > interact with org-capture? If Alfred can trigger an Applescript, I use the following with Quicksilver: Applescript: property eclient : "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n -e " do shell script eclient & "'(make-orgcapture-frame)'" elisp in init.el or ...: (defun make-orgcapture-frame () "Create a new frame and run org-capture." (interactive) (make-frame '((name . "remember") (width . 80) (height . 16) (top . 400) (left . 300) (font . "-apple-Monaco-medium-normal-normal-*-13-*-*-*-m-0-iso10646-1") )) (select-frame-by-name "remember") (org-capture)) Regards, -- Haider