From mboxrd@z Thu Jan 1 00:00:00 1970 From: Madhu Rao Subject: Re: Mac OS, emacs->org/remember Date: Wed, 23 Jul 2008 10:39:49 +0530 Message-ID: <2A700E8D-5B88-480C-A23F-B285B7F75F3E@ieee.org> References: <5108075A-92B5-40AA-BA28-CD3FA302F91B@uva.nl> <7AAFF166-7A8B-41EB-A53A-B47676393092@uva.nl> Mime-Version: 1.0 (Apple Message framework v928.1) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLWc2-0007mD-LG for emacs-orgmode@gnu.org; Wed, 23 Jul 2008 01:10:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLWc1-0007kx-Bl for emacs-orgmode@gnu.org; Wed, 23 Jul 2008 01:10:06 -0400 Received: from [199.232.76.173] (port=46632 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLWc1-0007ki-5J for emacs-orgmode@gnu.org; Wed, 23 Jul 2008 01:10:05 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:46396) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KLWc0-0002Gx-V6 for emacs-orgmode@gnu.org; Wed, 23 Jul 2008 01:10:05 -0400 In-Reply-To: <7AAFF166-7A8B-41EB-A53A-B47676393092@uva.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: John Wiegley , emacs-orgmode Org-Mode Carsten, John, Awesome. This is huge help, works like magic. Thanks. John, Thanks also for pointing to the FastScripts tip. -Madhu On 23-Jul-08, at 6:14 AM, Carsten Dominik wrote: > 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 >