; MacroKeys for CutControl by Brian E ; CutControl must be already running, maximized, connected to machine, etc. This was origionally written on a 2k (2560x1440) display on WIN11. ; Touch Prope and Tool Setter Windows Must Be expanded at all times. ; For Each Command, Adjust HotKey As Desired and set "x y" to the Client Mouse Position as shown in AHK Window Spy ; If Command is a ControlClick, WinActivate is Optional and can be commented out if you dont want to force CutControl to come to top (per hotkey). F13:: ; OK / Enter / Continue { WinActivate "CutControl" ; Bring the window to the foreground (required) Send "{Enter}" return } F14:: ; Send To Front { WinActivate "CutControl" ; Bring the window to the foreground (optional) ControlClick "x2293 y148", "CutControl",, "Left", 1 ; Perform the click return } F15:: ; Auto Tool Set { WinActivate "CutControl" ; Bring the window to the foreground (optional) ControlClick "x406 y902", "CutControl",, "Left", 1 ; Perform the click return } F16:: ; Send To X Y Zero { WinActivate "CutControl" ; Bring the window to the foreground (optional) ControlClick "x51 y341", "CutControl",, "Left", 1 ; Perform the click return } F17:: ; Send To Z Zero { WinActivate "CutControl" ; Bring the window to the foreground (optional) ControlClick "x102 y341", "CutControl",, "Left", 1 ; Perform the click return } F18:: ; Home Machine / Reset Zero { WinActivate "CutControl" ; Bring the window to the foreground (optional) ControlClick "x2121 y145", "CutControl",, "Left", 1 ; Perform the click return } F19:: ; Start/Resume { WinActivate "CutControl" ; Bring the window to the foreground (optional) ControlClick "x140 y208", "CutControl",, "Left", 1 ; Perform the click return } F20:: ; Pause { WinActivate "CutControl" ; Bring the window to the foreground (optional) ControlClick "x372 y208", "CutControl",, "Left", 1 ; Perform the click return } F21:: ; Coolant Toggle { WinActivate "CutControl" ; Bring the window to the foreground (optional) ControlClick "x189 y330", "CutControl",, "Left", 1 ; Perform the click return } F22:: ; Start Probe Routine { WinActivate "CutControl" ; Bring the window to the foreground (optional) ControlClick "x397 y753", "CutControl",, "Left", 1 ; Perform the click return } F24:: ; Chatter Down { WinActivate "CutControl" ; Bring the window to the foreground (optional) ControlClick "x432 y569", "CutControl",, "Left", 1 ; Perform the click return }