Jump to content

WhatsMyName

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by WhatsMyName

  1. I understand that. I'm not wanting to catch the Fn key itself. I just thought maybe I could catch the function that the key combination produces. I can catch the FN+enter and the FN+esc combinations. These are the volume up and volume down. Evidently there isn't a way to trap the brightness up and brightness down. Must be a hardware function, but there is a little bar that appears on the screen for the brighness and volume level so I suspect there is some software involved somewhere. Not sure exactly how it works.
  2. The msgbox doesn't display with just the Fn key (as I suspected), it displays on the FN+up, FN+dn, Up, Dn, Enter, ESC. Not on the FN+Rotate or FN+ctl+alt+delete. Doesn't work on the FN+enter or FN+ESC. I can trap these two with the volume up and down functions. Can't seem to catch the brightness buttons. Any other ideas?
  3. I know it is not possible to track the Fn key on some keyboards from within AutoIt. I'm hoping, however, that I can react to the action that a Fn + key combo normally activates. I have had some success with this. I will try to explain. I have a tablet PC and it has several buttons on the side that allow you to access different functions. There is a rotate button to turn the display image, a ctl+alt+delete button for rebooting, an ESC key, and ENTER key, scroll up and scroll down buttons, and the dreaded Fn button. When the Fn button is used in comination with the above buttons the following actions happen. Fn+rotate brightens the display, Fn+ctl+alt+delete dims the display, Fn+ESC turns volume up, Fn+ENTER turns volume down, and Fn and the arrows act as PGUP and PGDN. I can catch and react to the PGUP & PGDN and also the volume up and volume down from AutoIt. What I am wondering is if there is a way to intercept and react to the final two button combinations. Is there a function that would show that the display is brightened or dimmed? There may not be, as this may be a hardware function and not a Windows action, like the volume would is. I see the keyboard media buttons can be accessed, so I am hopeful. Any ideas?
  4. Cool. It works great. Thanks again.
  5. Thanks. That should do what I want.
  6. I looked at your example, but I can't figure out what I need to use to tell when a certain input control gets the focus. Can you point me to the right area of your example? Thanks.
  7. Is there a way to tell when an input control created with GUICtrlCreateInput gets the focus. Either by the user tabbing into it, or clicking it? I want to know which one of a set of input controls the user has selected to enter text into so I can change the state of an option button. I am using GUIGetMsg to capture other events such as button clicks in the same window, but an input control get focus doesn't seem to generate an event. Thanks.
×
×
  • Create New...