Sign in to follow this  
Followers 0

keyboard remapping scancodes


2 posts in this topic

Posted

PLEASE no flaming about AutoHotKey (I am aware of the "history") - I'm simply trying to do the equivalent in AutoIt and not use autohotkey if possible.

In autohotkey you can remap keyboard scancodes easily

i.e.

sc10B Up::Send {WheelDown}

takes scan code 10B up and maps it to a scroll wheel down.

I can't use _IsPressed because the hexkey starts with 0XFF which makes it indistinguable from other keys.

I can't use Virtual Keys because again it starts with 0xFF.

I've searched the forum and can't find a way to intercept scancodes.

This is the only reference I found and I need what he's asking for.

Any hint appreciated.

Share this post


Link to post
Share on other sites



Posted

ahha,

I take it you have seen this announcement? Intercepting scancodes means that you are essentially coding a keylogger - which is against the Forum rules. What you want to do is in fact fairly simple to do in AutoIt, but discussion of exactly how to do it is not permitted here. Sorry.

M23

Share this post


Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.