Jump to content

Search the Community

Showing results for tags 'keyboard hook'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 2 results

  1. For my job, I often have to enter accented foreign characters. The normal Windows method is while pressing Alt, typing a numeric code in the numeric keypad with numlock on. But then, you have to make sure your numlock is on, or the result of your typing may be unpredictable! And if you are using a laptop or a tablet with a tablet keyboard, there is no numeric keypad. What this script does: It waits for Win-F6 to start capturing numeric keypress events. The pressed keys are not written, the typed characters are queued. When 4 numbers are queued, the corresponding foreign character is sent to the app. Also there are a lot of characters, and I don't always remember the numeric code I need. So if I press Win-F7, a gui is displayed, it allows me to pick my font, and I can copy the character I need from there and paste it in my running app. To compile or run the code, you will have to use the beta run/beta compile etc with autoit 3.3.8.1 or better. And many thanks to Mikell for his help. Enjoy! <snip>
  2. Hi, I often have to enter foreign characters using a us keyboard and the alt keys. But many applications such as browsers react badly to some of the keys, and I end up having to enter them in Notepad and then copying and pasting the characters. So I tried to make a hot key script that waits for Win-F6, then hooks the keyboard, and stores the characters in a string. If all the characters are numeric, when there are 4, it should put the corresponding ANSI character into the clipboard and release the keyboard (function ChrW()). For example, if I type '0252', it should put 'ΓΌ' into the clipboard. But it doesn't till I also exit the script. There are debug tooltip and consolewrite statements, but I'm not getting anywhere. I would appreciate if someone could have a look. Thanks! <snip> The code is attached.
×
×
  • Create New...