Hammerspoon mouse zoom5/5/2023 ![]() It has SO much cool stuff and it’s a pretty complete DAW in my opinion. I’ve been seriously demoing Cubase for the last few weeks with a strong leaning towards buying it and making it my main DAW. Now if you have a 1080P screen and DPI set to 150% or a 8k screen with 100% DPI it might be, that you need to use a much different value to reach the scroll bar from the bottom up, as the scroll bars will have different sizes in that scenarios ( I would try values from -15 to -40 if it does not work). ![]() From there I do -25 (Pixel) to move the mouse up to the scroll bar. If you add the height of the window to the Y2 coordinate, you basically have the bottom corner Y coordinate. X2 represents the X coordinate of the upper left corner of the window, Y2 the Y coordinate of the same corner. In this script I calculate the position and the size of the MixConsole window by using MouseMove, X2 + Width2/2, Y2 + Height2 -25 you might have to edit -25 to fit your display setting WinGetActiveStats, Title, Width2, Height2, X2, Y2 #NoEnv Recommended for performance and compatibility with future AutoHotkey releases. Change the 2064 value below to match your display setting SetWorkingDir %A_ScriptDir% Ensures a consistent starting directory. SendMode Input Recommended for new scripts due to its superior speed and reliability. #Warn Enable warnings to assist with detecting common errors. If the scrolling is to slow for you, just add another line of send underneath the existing one and scroll speed will be increased. Here is the full script in text, just copy it in your AHK file.
0 Comments
Leave a Reply. |