AutoHotkey Community

It is currently May 26th, 2012, 8:47 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 50 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: August 6th, 2004, 2:46 pm 
Offline

Joined: April 15th, 2004, 5:33 pm
Posts: 181
I can confirm both statements from thinkstorm as it is the same on my T40. :roll:
As well as Chris' with the A+F2/LButton combo 8)

Interesting, as I tried to log in the forum to write this down, I wasn't able to enter the A character as part of the username while the hotkey was active :shock:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 6th, 2004, 4:51 pm 
Hi,

that works for me, too. It just seems that FN+a doesn't generate anything hookable, I can't even see the FN key up/Down in the key history window when pressed together with another key, only by itself...

well, doesn't really matter, #F2 works fine, too :)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 6th, 2004, 9:14 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Quote:
I wasn't able to enter the A character as part of the username while the hotkey was active

That's expected since the scan code in question is the letter A. It was just for testing (but you could add the ~ modifier to make it a "pass-through" key and thus resolve that issue).

Thanks everyone for testing it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: how to
PostPosted: August 9th, 2004, 12:04 pm 
Offline

Joined: August 9th, 2004, 12:00 pm
Posts: 1
could you let me know how this code is used? I need to somehow do a Fn F5 ALT T to disable the wireless at build time.

Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 10th, 2004, 1:29 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Whether it's possible depends on your particular notebook hardware. Read through the rest of the posts on page 1 of this topic, specifically the parts about detecting special keys, the method for which is at the bottom of this page:
http://www.autohotkey.com/docs/KeyList.htm#SpecialKeys

Once you find the virtual key and scan code of the Fn key, you might be able to simulate it via Send {vkXXscYYY}.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: T41 Question
PostPosted: September 16th, 2004, 2:18 pm 
Hey, this is great information! I'm glad I stumbled in to this place. I'm trying to map one of my keys (whether the browser back or FN key) to my "Windows" hot key. The code in this top seems to work to get the start menu to pop up, but I would really like to get the other functions working such as Win+D (Show Desktop), Win+M (Minimize All), Win+L (Lock Screen), Win+E (Explorer). I tried the following to map the Browser back key but it doesn't sem to work:
Code:
SC16A:: ; The asterisk makes the remapping more complete on XP/2k/NT.
Send, {LWIN down}
Loop
{
   Sleep, 10
   GetKeyState, state, SC16A, P
   if state = U  ; The key has been released, so break out of the loop.
      break
}
Send, {LWIN up}
return
Any suggestions?

Thanks,
Dustin


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 16th, 2004, 4:27 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Getting the keystate of a scan code isn't supported yet (I'll looking into it for a future version). Try this instead:

*Browser_Back: ; The asterisk makes the mapping more complete.
Send, {LWin down}
KeyWait, Browser_Back; Wait for key to be released.
Send, {LWin up}
return

If that doesn't work, perhaps your PC has some software or driver on it that hides the multimedia/Internet keystrokes from the rest of the system. In other words, Browser_Back might be handled at too low a level.

By the way, the KeyWait command was added a couple of weeks ago, so if your AutoHotkey was downloaded earlier than that, you might want to update it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 16th, 2004, 2:08 pm 
Offline

Joined: July 13th, 2004, 8:25 pm
Posts: 10
IBM offers a free utility called "Keyboard Customizer" for their laptops on their website. Only problem is you can't remap the FN function key.

It only remaps the Windows Key and Application Key (Right-Click) to other keys like Alt, Ctrl, etc. (but not FN).

Good thing about it is that it is very stable and has not interfered with AutoHotkey operation at all.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: IBM browser key remapps
PostPosted: December 28th, 2004, 3:30 am 
Hello,

The following seems to work for me (e.g., Win+E, etc...), code modified from other posts in the forum, so credit where credit is due. I'm using an IBM T41.

--djo


Code:
*SC16A::
Send, {LWIN down}
Loop
{
   Sleep, 10
   GetKeyState, state, vkA6sc16A, P
   if state = U  ; The key has been released, so break out of the loop.
      break
}
Send, {LWIN up}
return


*SC169::
Send, {AppsKey down}
Loop
{
   Sleep, 10
   GetKeyState, state, vkA7sc169, P
   if state = U  ; The key has been released, so break out of the loop.
      break
}
Send, {AppsKey up}
return



Report this post
Top
  
Reply with quote  
 Post subject: what keys do i use??
PostPosted: October 23rd, 2006, 12:51 pm 
hi im just wondering how i to enter these keys Fn+F2 because i dont have an Fn key on my keyboard. is there any other way of doing this??
could u plz contact me on my account southside_nigga50@hotmail.com


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 23rd, 2006, 2:54 pm 
Quote:
because i dont have an Fn key on my keyboard
You might have no notebook-PC, right? If no, which one??


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 9th, 2007, 3:36 am 
Offline

Joined: July 9th, 2007, 2:24 am
Posts: 3
ealerner wrote:
IBM offers a free utility called "Keyboard Customizer" for their laptops on their website. Only problem is you can't remap the FN function key.
[...]
Good thing about it is that it is very stable and has not interfered with AutoHotkey operation at all.

Actually not true for me - I used a Norwegian keyboard layout, and sacrificed AltGr to be used as Windows-key, and right Ctrl as Application key to get around without using the mouse *all* the time. However, when doing hotstrings including curly brackets ("{" and "}"), they came out as 7 and 0. This makes sense, since on a Norwegian keyboard, AltGr+7 = {, Alt+Ctrl+7 = {, AltGr+0 = } and Alt+Ctrl+0 = }.

Anyways, I disabled the IBM Keyboard Customizer, and my hotstrings worked OK. Then I added the keyremapping in my autohotkey.ini as described by dotoshi in:
http://www.autohotkey.com/forum/topic298-15.html#9853

Thanks for a great app!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 9th, 2007, 6:13 am 
Offline

Joined: July 9th, 2007, 2:24 am
Posts: 3
bakkulf wrote:
[...]I added the keyremapping in my autohotkey.ini as described by dotoshi in:
http://www.autohotkey.com/forum/topic298-15.html#9853

I found a serious problem with mapping a key to be WinKey :shock:
Currently I'm using a script that sends WinKey down, loops to check when the key is to be released (Loop, sleep, GetKeyState, if state=u -> ), and then sends WinKey up; see description in this post).

Actually, if I use the default win-shortcut (WinKey+L) to lock my computer, I'm not able to log in again. Since the computer locks with WinKey down, the script then never gets the key released, and I cannot enter the letter "l" (small L) in the password field. However, I can press u (that actually gets WinKey+u) to bring up the utility manager, where I can start the On Screen Keyboard and fiddle around a bit with the WinKey on the keyboard. Then, apparently the key finds it's up-state, and I can again log in with my password accidentally containing a lower-case L.

A quick-and-dirty fix is of course to change to a password without l and u, but I would prefer a more stable solution ;)

Any ideas? (eg. by implementing a timer in the script that would let go of the down-state e.g. after 5 seconds?)


Report this post
Top
 Profile  
Reply with quote  
 Post subject: fn on usb keyboard
PostPosted: July 23rd, 2007, 11:08 pm 
My keyboard is broken and I'm using an usb keyboard which doesn't have a fn key, so I would like to remap the fn key into any other one.

Any one can help me?

Thanks


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 24th, 2007, 7:19 am 
A tough challenge. We don't have your keyboard. We don't know which Nobo you use to know if we have the same keyboard. As your keyboard is broken how can you detect its scan-/vkcode? Input!


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 50 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: coinman, joetazz, Leef_me, Mickers, tidbit, Yahoo [Bot] and 64 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group