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 

Bug? Alt Key?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
cornell2



Joined: 18 Mar 2005
Posts: 166

PostPosted: Tue Apr 05, 2005 11:58 pm    Post subject: Bug? Alt Key? Reply with quote

When I run this script

!F10::
msgbox, you pressed Alt + F10
return


and press Alt-F10 ... my keyboard locks (not mouse) ... no response until I hit enter. Then I regain keyboard control

Odd.
There's got to be an obvious reason, right? Any ideas?

Thanks!
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Wed Apr 06, 2005 12:41 am    Post subject: Reply with quote

What do you mean, exactly? Do you mean the keyboard locks completely, for any application?
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5390
Location: /b/

PostPosted: Wed Apr 06, 2005 12:49 am    Post subject: Reply with quote

Strange, !F10 doesn't lock my keyboard.
Have you tried opening any other app (e.g. Notepad) and pressing some keys there ?
_________________

Back to top
View user's profile Send private message Visit poster's website
cornell2



Joined: 18 Mar 2005
Posts: 166

PostPosted: Wed Apr 06, 2005 2:55 am    Post subject: Reply with quote

Titan wrote:
Strange, !F10 doesn't lock my keyboard.
Have you tried opening any other app (e.g. Notepad) and pressing some keys there ?


Yup. Even tried it while typing this message. Keybd gets disabled until I click and unload ahk.

this is the entire file

!F10::
msgbox, got here
return
Back to top
View user's profile Send private message
SanskritFritz



Joined: 17 Feb 2005
Posts: 283
Location: Hungary, Budapest

PostPosted: Wed Apr 06, 2005 8:12 am    Post subject: Reply with quote

Here it works too.
What system are you using? Win98 maybe?
If 2000 or XP, what happens if you put this line to the beginning of the script:
Code:
#InstallKeybdHook

_________________
Is there another word for synonym?
Back to top
View user's profile Send private message
cornell2



Joined: 18 Mar 2005
Posts: 166

PostPosted: Wed Apr 06, 2005 4:52 pm    Post subject: Reply with quote

SanskritFritz wrote:
Here it works too.
What system are you using? Win98 maybe?
If 2000 or XP, what happens if you put this line to the beginning of the script:
Code:
#InstallKeybdHook


Nope. I am using WinXP Home Edition. AND adding that extra command completely locked up my keyboard. Even unloading ahk did not resolve it, and I had to reboot.

Incidentally, I made sure there was nothing else loaded (that I know of) that might interfere with the keys.

Any ideas?

I am at a loss!
Back to top
View user's profile Send private message
Jon



Joined: 28 Apr 2004
Posts: 373

PostPosted: Wed Apr 06, 2005 4:59 pm    Post subject: Reply with quote

does this work?

Code:
!F10::
send, {alt up}
msgbox, you pressed Alt + F10
return
Back to top
View user's profile Send private message Send e-mail
cornell2



Joined: 18 Mar 2005
Posts: 166

PostPosted: Wed Apr 06, 2005 5:52 pm    Post subject: CueCat & !F10 Reply with quote

Jon wrote:
does this work?

Code:
!F10::
send, {alt up}
msgbox, you pressed Alt + F10
return


Same issue. BUT I think I figured out the problem. Alt-F9 works .. but not alt-F10. So this is an ahk-conflict issue with the cuecat (scanner) driver - which is supposed preceed scanner input with an AltF10 code - which is what I was trying to detect.

There must be some sort of conflict with the cuecat driver. I just noticed that I can see some affect with Alt-F10 without ahk - though not as severe.

Does anyone have any experience with this???

Thanks!
Back to top
View user's profile Send private message
Red_Wraith



Joined: 30 Jan 2005
Posts: 19

PostPosted: Wed Apr 06, 2005 7:44 pm    Post subject: Reply with quote

Do you happen to have a German keyboard? I had problems with mine and autohotkey (at a script for key remapping).

Cya


PS: Oh, I just read it had something to do with your scanner. Hm, my post won't help you then.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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