From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Brody, William (Buck)" Subject: switching to emacs via keboard shortcut Date: Tue, 2 Feb 2010 10:52:01 -0500 Message-ID: <46FF04F1BA077D4586212E7E31C57D2A01DB36F5F4@MAIL.darden.virginia.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0272832239==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcL3R-0006ZC-W3 for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 10:52:42 -0500 Received: from [199.232.76.173] (port=38946 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcL3R-0006Yv-Aw for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 10:52:41 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcL3Q-0002FB-3K for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 10:52:41 -0500 Received: from proteus2.darden.virginia.edu ([128.143.59.148]:47066 helo=mail.darden.virginia.edu) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.60) (envelope-from ) id 1NcL3M-0002Db-St for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 10:52:39 -0500 Content-Language: en-US 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: "emacs-orgmode@gnu.org" --===============0272832239== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_46FF04F1BA077D4586212E7E31C57D2A01DB36F5F4MAILdardenvir_" --_000_46FF04F1BA077D4586212E7E31C57D2A01DB36F5F4MAILdardenvir_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I run org-mode on GMU Emacs for Windows. During my workflow I am frequentl= y alt-tab 'ing to get back to Emacs. Does anyone have a way to use a keybo= ard shortcut (maybe via an autohotkey script) to get back to emacs. Thanks --_000_46FF04F1BA077D4586212E7E31C57D2A01DB36F5F4MAILdardenvir_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I run org-mode on GMU Emacs for Windows.  During = my workflow I am frequently alt-tab ‘ing to get back to Emacs.  Does anyone = have a way to use a keyboard shortcut (maybe via an autohotkey script) to get back= to emacs.

 

Thanks

--_000_46FF04F1BA077D4586212E7E31C57D2A01DB36F5F4MAILdardenvir_-- --===============0272832239== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0272832239==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: switching to emacs via keboard shortcut Date: Tue, 02 Feb 2010 18:37:03 +0100 Message-ID: <4B6862BF.2050101@online.de> References: <46FF04F1BA077D4586212E7E31C57D2A01DB36F5F4@MAIL.darden.virginia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcMev-0003Bx-5j for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 12:35:29 -0500 Received: from [199.232.76.173] (port=59830 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcMeu-0003BW-Oy for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 12:35:28 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcMer-0006Ow-SH for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 12:35:28 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:53967) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NcMep-0006OM-DQ for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 12:35:23 -0500 In-Reply-To: <46FF04F1BA077D4586212E7E31C57D2A01DB36F5F4@MAIL.darden.virginia.edu> 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: "Brody, William (Buck)" Cc: "emacs-orgmode@gnu.org" Am 02.02.2010 16:52, schrieb Brody, William (Buck): > I run org-mode on GMU Emacs for Windows. During my workflow I am > frequently alt-tab ‘ing to get back to Emacs. Does anyone have a way to > use a keyboard shortcut (maybe via an autohotkey script) to get back to > emacs. > > Thanks > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode In an AutoHotkey script I have ; ------------------------------------------------------------------------------- ; raise Emacs with "Ctrl-Meta-Shift-e" ^!+e:: if WinExist("ahk_class Emacs") { IfWinActive { WinMinimize } else { WinActivate } } else { Run %SystemDrive%\Programme\Emacs\emacs\bin\emacsclient.exe } return ; ------------------------------------------------------------------------------- ; raise Emacs with "Windows + Shift + e" #+e:: if WinExist("ahk_class Emacs") { IfWinActive { WinMinimize } else { WinActivate } } else { Run %SystemDrive%\Programme\Emacs\emacs\bin\emacsclient.exe } return ----------------------------------------------------------------------------- I also have ; ------------------------------------------------------------------------------- #t:: ; raise Thunderbird with "Windows + Shift + t" IfWinExist, Thunderbird { IfWinActive { WinMinimize } else { WinActivate } } return ; ------------------------------------------------------------------------------- #f:: ; Firefox vorholen IfWinExist, Mozilla Firefox { IfWinActive { WinMinimize } else { WinActivate } } return ; ------------------------------------------------------------------------------- #p:: raise a specific Putty ; if WinExist("fritz.diplan.de - PuTTY") if WinExist("debian2.diplan.de - PuTTY") { WinActivate } return ; ------------------------------------------------------------------------------- ; jump to clocked-in org todo ^!+F12:: ; IfWinExist, Emacs if WinExist("ahk_class Emacs") { WinActivate ; Send ^s Send ^!{F12} } else { Run Notepad } return ; ------------------------------------------------------------------------------- ; Org Remember ^!+r:: ; IfWinExist, Emacs if WinExist("ahk_class Emacs") { WinActivate ; Send ^s Send ^!r } else { Run Notepad } return ; ------------------------------------------------------------------------------- All this and a lot more scripts and helpers makes Windows really usable ... Rainer From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Subject: Re: switching to emacs via keboard shortcut Date: Tue, 2 Feb 2010 17:54:02 +0000 (UTC) Message-ID: References: <46FF04F1BA077D4586212E7E31C57D2A01DB36F5F4@MAIL.darden.virginia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcMyR-00020f-1o for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 12:55:39 -0500 Received: from [199.232.76.173] (port=36651 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcMyP-00020W-Lp for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 12:55:37 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcMyL-0003OU-39 for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 12:55:37 -0500 Received: from lo.gmane.org ([80.91.229.12]:46129) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NcMyK-0003OO-PG for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 12:55:32 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NcMxJ-00028V-Cm for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 18:55:29 +0100 Received: from 94.21.170.136 ([94.21.170.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2010 18:54:29 +0100 Received: from levelhalom by 94.21.170.136 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2010 18:54:29 +0100 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: emacs-orgmode@gnu.org Brody, William (Buck darden.virginia.edu> writes: > > I run org-mode on GMU Emacs for Windows.  During my workflow > I am frequently alt-tab ‘ing to get back to Emacs.  Does anyone have a > way to use a keyboard shortcut (maybe via an autohotkey script) to get back to > emacs. I use this: CapsLock:: SetCapsLockState, off winactivate ahk_class Emacs sendinput {f12} return Pressing capslock (which is a useless key, imo) puts me into Agenda from anywhere. Note that I bound F12 in Emacs to get to the Agenda and the above script relies on that. From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Brody, William (Buck)" Subject: RE: switching to emacs via keboard shortcut Date: Tue, 2 Feb 2010 14:15:08 -0500 Message-ID: <46FF04F1BA077D4586212E7E31C57D2A01DB36FF25@MAIL.darden.virginia.edu> References: <46FF04F1BA077D4586212E7E31C57D2A01DB36F5F4@MAIL.darden.virginia.edu> <4B6862BF.2050101@online.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcODk-0004rp-Dd for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 14:15:32 -0500 Received: from [199.232.76.173] (port=57715 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcODk-0004rh-0m for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 14:15:32 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcODi-00068x-14 for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 14:15:31 -0500 Received: from proteus2.darden.virginia.edu ([128.143.59.148]:60226 helo=mail.darden.virginia.edu) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.60) (envelope-from ) id 1NcODh-00068l-Ny for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 14:15:29 -0500 In-Reply-To: <4B6862BF.2050101@online.de> Content-Language: en-US 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: Rainer Stengele Cc: "emacs-orgmode@gnu.org" Thanks. These are great and work like a charm. -----Original Message----- From: Rainer Stengele [mailto:rainer.stengele@online.de]=20 Sent: Tuesday, February 02, 2010 12:37 PM To: Brody, William (Buck) Cc: emacs-orgmode@gnu.org Subject: Re: switching to emacs via keboard shortcut Am 02.02.2010 16:52, schrieb Brody, William (Buck): > I run org-mode on GMU Emacs for Windows. During my workflow I am > frequently alt-tab 'ing to get back to Emacs. Does anyone have a way to > use a keyboard shortcut (maybe via an autohotkey script) to get back to > emacs. > > Thanks > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode In an AutoHotkey script I have ; -------------------------------------------------------------------------= ------ ; raise Emacs with "Ctrl-Meta-Shift-e" ^!+e:: if WinExist("ahk_class Emacs") { IfWinActive { WinMinimize } else { WinActivate } } else { Run %SystemDrive%\Programme\Emacs\emacs\bin\emacsclient.exe } return ; -------------------------------------------------------------------------= ------ ; raise Emacs with "Windows + Shift + e" #+e:: if WinExist("ahk_class Emacs") { IfWinActive { WinMinimize } else { WinActivate } } else { Run %SystemDrive%\Programme\Emacs\emacs\bin\emacsclient.exe } return ---------------------------------------------------------------------------= -- I also have ; -------------------------------------------------------------------------= ------ #t:: ; raise Thunderbird with "Windows + Shift + t" IfWinExist, Thunderbird { IfWinActive { WinMinimize } else { WinActivate } } return ; -------------------------------------------------------------------------= ------ #f:: ; Firefox vorholen IfWinExist, Mozilla Firefox { IfWinActive { WinMinimize } else { WinActivate } } return ; -------------------------------------------------------------------------= ------ #p:: raise a specific Putty ; if WinExist("fritz.diplan.de - PuTTY") if WinExist("debian2.diplan.de - PuTTY") { WinActivate } return ; -------------------------------------------------------------------------= ------ ; jump to clocked-in org todo ^!+F12:: ; IfWinExist, Emacs if WinExist("ahk_class Emacs") { WinActivate ; Send ^s Send ^!{F12} } else { Run Notepad } return ; -------------------------------------------------------------------------= ------ ; Org Remember ^!+r:: ; IfWinExist, Emacs if WinExist("ahk_class Emacs") { WinActivate ; Send ^s Send ^!r } else { Run Notepad } return ; -------------------------------------------------------------------------= ------ All this and a lot more scripts and helpers makes Windows really usable ... Rainer