Shukaro!
First, thanks for your little mod! It really helps me play although it is quite annoying it is hard to play full-screen DF with it, as Meph mentioned.
Even though Mouse Fortress is/could be a revolution in the way we play Dwarf Fortress (I really mean this, who wouldn't choose mouse designation and building over carpal tunnel-creating cursor movement), there is only a little interest in this thread. And the reason is obvious! Please edit the main post to include less technical blabber (interesting for modders themselves, but not for the end users) and more explanation of functionality.
To help you, I've written a paragraph of marketing text (check for errors, I've only used MF for about ten minutes yet, before going to sleep):
"Mouse Fortress is the newest revolution in playing Dwarf Fortress! Has your carpal tunnel syndrome lead to aesthetically unpleasing but designation-friendly fortress design? Is your fortress absent of any furniture because you just can't remember the hotkeys? Mouse Fortress is here to save you! Right-click to bring up a menu and build whatever you want, wherever you want. It is a utility which provides a framework for constructing custom hotkeys and menus, which can perform many actions, from sending keystrokes, to manipulating the game cursor. It's designed to be as flexible and robust as possible, in order to allow as much customization as possible. DISCLAIMER: Vanilla buildings and furniture included, batteries are not!"
<3
Edit: I messed around with Autohotkey and your program some more. Let me share the custom keys I have setup (as I think they are quite nice):
^+WheelUp||u
^+WheelDown||m
^!WheelUp||k
^!WheelDown||h
+WheelUp||-
+WheelDown||{+}
+LButton||{Enter}
+RButton||Esc
^WheelUp||PageUp
^WheelDown||PageDown
!WheelUp||<
!WheelDown||>
RButton|||m
~MButton|||d
q|q||tc
k|k||tc
v|v||tc
t|t||tc
+n|N||tc
I changed the up and down z-level by scroll and changed it into ALT + Scroll, because I like to zoom in and out using the mouse wheel.
Furthermore, I made it possible to select an item in a menu while scrolling through it with shift+wheel, by pressing shift+lbutton. Shift+rbutton closes the menu.
I have one question though: I would like to rebind Numpad0 to another Shift-key, so it doesn't stress my hands when I move the cursor with the numpad-keys. Any idea how to do it through your files? I've tried the following things, all lead to every input returning Shift+NumpadHome (Upper right fast movement):
NumpadIns & NumpadLeft||~Shift & NumpadLeft
NumpadIns & NumpadUp||~Shift & NumpadUp
NumpadIns & NumpadRight||~Shift & NumpadRight
NumpadIns & NumpadDown||~Shift & NumpadDown
NumpadIns & NumpadHome||~Shift & NumpadHome
NumpadIns & NumpadPgDn||~Shift & NumpadPgDn
NumpadIns & NumpadPgUp||~Shift & NumpadPgUp
NumpadIns & NumpadEnd||~Shift & NumpadEnd
NumpadIns||~Shift
NumpadIns||RShift