Advertisement
kamegami

Fusion 360 Pan, Zoom, Orbit Script

Oct 5th, 2017
635
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn  ; Enable warnings to assist with detecting common errors.
  3. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  5.  
  6. #IfWinActive, Autodesk Fusion 360
  7. $~XButton2::
  8.     Send, {Alt down}
  9.     Send, {Shift down}
  10.     Click, down, right
  11.     keyWait, XButton2
  12.     Send, {Alt up}
  13.     Send, {Shift up}
  14.     Click, up, right
  15. return
  16.  
  17. $~XButton1::
  18.     Send, {Shift down}
  19.     Click, down, middle
  20.     keyWait, XButton1
  21.     Send, {Shift up}
  22.     Click, up, middle
  23. return
  24. #IfWinActive
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement