You've been so helpful before, so I thought I'd ask for another favour =)
I've been looking for a way to lock the mouse movement along the x or y axis with a toggle. I saw that DF has several mouse movement functions and thought it would be ideal if I could add a custom scripted function to do this.
I've found a Autohotkey script from Donationcoder that does the same thing, but I can't get it to run correctly and I'm not smart enough to figure out how to write the DF equivalent =(
Actually after some digging around I found a solution that would work (I couldn't find a way to delete my post) But I guess if there is anyone looking for doing the same thing as me:
In order to get this to work you need to create an app specific layer, if you want the desktop you create a layer for Explorer (this is what I failed to do before).
Under settings > Hotkeys, enable global hotkeys. There are the Toggle x/y axis lock hotkeys at the bottom. You can set these to any free hotkey, and what I did was use X-Mouse's 'Simulated Keys' function to bind it to a mouse button - ie: Mouse Button 4: Simulated Keys (pressed) {CTRL}{SHIFT}{Fx} *where x is the function key number