I like to have the macOS Dock hidden at the right-hand side of my screen.
I’m planning to create my own dock, hidden at the opposite side of my screen, triggered by moving my mouse pointer over the left screen corner.
What would be the best approach? Creating a pallet that is triggered by a mouse movement?
You can create your own dock palette, that is fairly easy.
But there is no trigger based on mouse movement, so you will need to show/hide the dock in a different manner.
I was hoping, something like this would be possible:
You can certainly write a macro to detect whether the mouse is in a certain area of the screen, using the MOUSEX and MOUSEY functions for example.
But you cannot trigger a macro when the mouse moves to certain locations.