emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Alfred workflow for org-capture


From: Haider Rizvi
Subject: Re: [O] Alfred workflow for org-capture
Date: Thu, 12 Sep 2013 14:51:14 -0400
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (darwin)

"Robert P. Goldman" <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]