#IfWinActive ahk_class WFC.Window.8 ; Alibre Design Windows Only
WheelUp::WheelDown ; Reverse direction of Scroll Wheel only in Alibre Design
WheelDown::WheelUp
#IfWinActive ; puts subequent remapping and hotkeys in effect for all windows
wathavy4 said:http://www.alibre.com/forum/viewtopic.php?f=9&t=4311&start=24
Code:#IfWinActive ahk_class WFC.Window.8 ; Alibre Design Windows Only WheelUp::WheelDown ; Reverse direction of Scroll Wheel only in Alibre Design WheelDown::WheelUp #IfWinActive ; puts subequent remapping and hotkeys in effect for all windows
Is the one I got from Nate.
You need AutoHotKey installed.
AutoHotkey Help File said:The directives #IfWinActive/Exist can be used to make a hotkey perform a different action (or none at all) depending on the type of window that is active or exists. For example:
Code:#IfWinActive, ahk_class Notepad ^a::MsgBox You pressed Ctrl-A while Notepad is active. Pressing Ctrl-A in any other window will pass the Ctrl-A keystroke to that window. #c::MsgBox You pressed Win-C while Notepad is active. #IfWinActive #c::MsgBox You pressed Win-C while any window except Notepad is active.
WheelUp::
MouseGetPos, , , id, control
If (control == "WFC.Window.401") or (control == "WFC.Window.402") or (control == "WFC.Window.403") or (control == "WFC.Window.404")
{
Send {WheelDown} ; Reverse direction of Scroll Wheel only in Alibre Design
}
Else
{
Send {WheelUp}
}
Return
WheelDown::
MouseGetPos, , , id, control
If (control == "WFC.Window.401") or (control == "WFC.Window.402") or (control == "WFC.Window.403") or (control == "WFC.Window.404")
{
Send {WheelUp} ; Reverse direction of Scroll Wheel only in Alibre Design
}
Else
{
Send {WheelDown}
}
Return
buildingblock said:Why are people complaining, I auto-keyed the mouse wheel do zoom in and out when I hold down control and scroll. Not difficult at all. I think haters come on here to complain based on words and not experience.
MButton::
MouseGetPos, , , id, control
If (control == "WindowsForms10.Window.28.app.0.2982bee_r13_ad11")
{
Click down
Click down right
}
Return
MButton up::
MouseGetPos, , , id, control
If (control == "WindowsForms10.Window.28.app.0.2982bee_r13_ad11")
{
Click up
Click up right
}
Return