delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/08/16:27:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090306195923.GI32089@trikaliotis.net>
References: <8p21r4pui1dgbl8q2ovpvcsharaburle84 AT 4ax DOT com> <49B09CE9 DOT 1060500 AT gmail DOT com> <0A4ADB2148EA2948B9FFFB980FA0D22F0589F52F AT djexchange DOT dickey-john DOT com> <49B1470C DOT 3000107 AT gmail DOT com> <0A4ADB2148EA2948B9FFFB980FA0D22F0589F58F AT djexchange DOT dickey-john DOT com> <49B14D88 DOT 4020707 AT gmail DOT com> <0105D5C1E0353146B1B222348B0411A29A674EDB AT NIHMLBX02 DOT nih DOT gov> <20090306175850 DOT GF32089 AT trikaliotis DOT net> <183c528b0903061029h41a9d3f4h8f976e6b77d3ba7d AT mail DOT gmail DOT com> <20090306195923 DOT GI32089 AT trikaliotis DOT net>
Date: Sun, 8 Mar 2009 17:27:08 -0400
Message-ID: <183c528b0903081427j12c94e21se76966b806436b7f@mail.gmail.com>
Subject: Re: How can I assign a hotkey to run a cygwin/bash script?
From: Brian Mathis <brian DOT mathis AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, Mar 6, 2009 at 3:59 PM, Spiro Trikaliotis
<an-cygwin AT spiro DOT trikaliotis DOT net> wrote:
> Hello Brian,
>
> * On Fri, Mar 06, 2009 at 01:29:02PM -0500 Brian Mathis wrote:
>> On Fri, Mar 6, 2009 at 12:58 PM, Spiro Trikaliotis
>> <XXXXXX AT spiro DOT trikaliotis DOT net> wrote:
>
>> > Well, we can think about many things: However, this is not the way it
>> > works on Windows, obviously.
>>
>> Windows keeps a systemwide table of hotkeys, and when one is pressed
>> Windows runs whatever is in the table as the target.
>
> Ok. If you know for sure, I stand corrected. However, from the
> behaviour, this is not the way it seemed to work to me.
>
> Can you explain then why a shortcut I define in the quick start does not
> get applied? Yes, I defined it directly there, I did not move a file
> there.
>
> Best regards,
> Spiro.


I just tested this on Vista, and you are right, it does not seem to
work if you have set the hotkey there.  It may be a conflict with the
already-set hotkeys for the items in the Quicklaunch toolbar.  If
you're not familiar, on Vista you can use Win+1, Win+2, etc... to
start the 1st, 2nd, etc... icon in the quicklaunch bar.  This feature
is not there for XP though.

I suspect that it would work just fine with winhotkey if you were to
point the target to the shortcut in the quicklaunch bar, but I haven't
tried it.  At that point, it's just another path.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019