emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christopher Suckling <suckling.list@googlemail.com>
To: Austin Frank <austin.frank@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: ANN: org-mac-protocol : AppleScripts to invoke org-protocol from various applications
Date: Sun, 02 Aug 2009 10:48:22 +0200	[thread overview]
Message-ID: <m2y6q27ga1.fsf@gmail.com> (raw)
In-Reply-To: <m03a8rf4c1.fsf@dhcp110.internal> (Austin Frank's message of "Mon, 20 Jul 2009 17:10:38 -0400")

On Mon, 20 Jul 2009 17:10:38 -0400, Austin Frank <austin.frank@gmail.com> wrote:

>
> Thanks!  This looks really interesting.  Is there any way to use
> applescript to track change in application focus?  I'd be interested in
> logging when I change to or away from each application, and having that
> time tracking information available from within org.  Does this seem
> possible?
>

org-(mac)-protocol is certainly the mechanism to get the information
into org-mode, but I'm not sure that AppleScript is the best way of
tracking application focus. To be honest, my AppleScript is even more
cludgy than my elisp, but from what I understand, the best that can be
done is to write a script that makes a call every, say, 10 seconds to
check which window is in focus.

I'll put it on my todo list, but please don't hold your breath - I've
just entered a hellishly busy four months.

Christopher

  reply	other threads:[~2009-08-02  8:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-20 17:57 ANN: org-mac-protocol : AppleScripts to invoke org-protocol from various applications Christopher Suckling
2009-07-20 18:03 ` Greg Newman
2009-07-20 18:05   ` Christopher Suckling
2009-07-20 21:10 ` Austin Frank
2009-08-02  8:48   ` Christopher Suckling [this message]
2009-07-20 22:42 ` Greg Newman
2009-07-20 23:11   ` Christopher Suckling
2009-07-20 23:04 ` Greg Newman
2009-07-20 23:36   ` Christopher Suckling
2009-07-20 23:59     ` Greg Newman
2009-07-21  0:14       ` Christopher Suckling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2y6q27ga1.fsf@gmail.com \
    --to=suckling.list@googlemail.com \
    --cc=austin.frank@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).