ahha Posted January 13, 2013 Share Posted January 13, 2013 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 easilyi.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. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 13, 2013 Moderators Share Posted January 13, 2013 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 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts