AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with UP modifier in hotkeys

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Roland



Joined: 08 Jun 2006
Posts: 238

PostPosted: Sun Aug 05, 2007 8:48 pm    Post subject: Problem with UP modifier in hotkeys Reply with quote

The following hotkey prevents other hotkeys involving the Control key from working (for instance, Ctrl+S won't work anymore in my editor etc...).

Code:
#IfWinActive SomeWindow

LCtrl UP::msgbox


Surely it should have no effect unless the window from #IfWinActive is actually active?
The problem seems to be the UP, just Ctrl works fine.
I just tested with Alt UP, and the same problem occurs.
Back to top
View user's profile Send private message
Ian



Joined: 15 Jul 2007
Posts: 1151
Location: Enterprise, Alabama

PostPosted: Sun Aug 05, 2007 11:50 pm    Post subject: Reply with quote

Shouldn't it be

Code:
WinActive, SomeWindow

LCtrl UP::Msgbox


Question Question

Because the only #win is #WinActivateForce, and I don't think that's what this is used for.
_________________
ScriptPad/~dieom/dieom/izwian2k7/Trikster/God
Back to top
View user's profile Send private message
Superfraggle



Joined: 02 Nov 2004
Posts: 774
Location: London, UK

PostPosted: Sun Aug 05, 2007 11:58 pm    Post subject: Reply with quote

no the original is correct

the workaround would be to add
Code:
#ifwinactive
Lctrl::send ^


Least i think that should work.
_________________
Steve F AKA Superfraggle

http://r.yuwie.com/superfraggle
Back to top
View user's profile Send private message MSN Messenger
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Mon Aug 06, 2007 8:41 pm    Post subject: Reply with quote

Thanks for the report. This will be fixed in the next update.

As a temporary workaround, adding the following hotkey seems effective:
Code:
#IfWinActive SomeWindow
LCtrl UP::msgbox
~LCtrl::return
Back to top
View user's profile Send private message Send e-mail
Roland



Joined: 08 Jun 2006
Posts: 238

PostPosted: Mon Aug 06, 2007 9:27 pm    Post subject: Reply with quote

Thanks. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group