[Top][All Lists]

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

Re: [O] Alfred workflow for org-capture

From: Alan Schmitt
Subject: Re: [O] Alfred workflow for org-capture
Date: Fri, 13 Sep 2013 09:45:56 +0200
User-agent: mu4e; emacs 24.3.1

address@hidden writes:

> "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))

This is a great suggestion! I have one comment and one question.

The comment: if you have capture-templates set up, you can bypass them
by calling `(org-capture nil "t")' if you want that template.

The question: is there a way to:
- present only the capture buffer in the new frame (right now it's split
with the scratch buffer)?
- delete the window at the end of capture?

According to some old discussion
it is not possible, but things may have changed since then.


reply via email to

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