emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: John Wiegley <johnw@newartisans.com>
Cc: Madhu Rao <bgm-rao@ieee.org>,
	emacs-orgmode Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: Mac OS, emacs->org/remember
Date: Tue, 22 Jul 2008 17:44:31 -0700	[thread overview]
Message-ID: <7AAFF166-7A8B-41EB-A53A-B47676393092@uva.nl> (raw)
In-Reply-To: <C8411EA8-B35B-4901-BCDF-EE0BA73C98F5@newartisans.com>

Great, thanks you very much.

- Carsten

On Jul 22, 2008, at 5:12 PM, John Wiegley wrote:

> On Jul 22, 2008, at 7:40 PM, Carsten Dominik wrote:
>
>> I am not sure how to do this, but I am sure it can be done
>> with apple script.  John, do you have something for calling
>> raising Carbon Emacs and running remember with a Mac hotkey?
>
> I used QuicKeys to change focus to Emacs and then invoke the org- 
> remember key binding.  It can also be done with Applescript, using  
> GUI Scripting.  The script would look something along the lines of:
>
>  tell application "Emacs" to activate
>
>  tell application "System Events"
> 	tell process "Emacs"
> 		tell front window
> 			keystroke "c" using {control down}
> 			keystroke "r" using {control down}
> 		end tell
> 	end tell
>  end tell
>
> This switches to Emacs and invokes C-c C-r.  Change to suit your  
> taste.  You'll need to run AppleScript Utility.app, and check  
> "Enable GUI Scripting" for this to work.
>
> You can bind this Applescript to global hotkey using the free  
> application "FastScripts Lite".
>
> Good luck!
>
> John

  reply	other threads:[~2008-07-23  0:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-20 20:06 Mac OS, emacs->org/remember Madhu Rao
2008-07-22 23:40 ` Carsten Dominik
2008-07-23  0:12   ` John Wiegley
2008-07-23  0:44     ` Carsten Dominik [this message]
2008-07-23  5:09       ` Madhu Rao
2008-08-04 12:17   ` peter.frings
  -- strict thread matches above, loose matches on Subject: below --
2008-07-18 19:19 bgm-rao

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=7AAFF166-7A8B-41EB-A53A-B47676393092@uva.nl \
    --to=dominik@uva.nl \
    --cc=bgm-rao@ieee.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=johnw@newartisans.com \
    /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).