View Single Post
Old 10-14-2018, 09:21 AM   #24
Human being with feelings
Join Date: Jul 2009
Posts: 2,369

Updated to v0.94 with new WAV writer functions by Xenakios, and a bugfix in JS_Window_GetRelated.

Originally Posted by NextLevel View Post
Is there a way to set mouse position relative to a specific window?
Meaning that even if the window is in a different position each time the script is executed it will always set the mouse to the same position within that window.
Sure: Get the window's screen coordinates using JS_Window_GetRect or JS_Window_GetClientRect, and then move the mouse using JS_Mouse_SetPosition.

Originally Posted by _Stevie_ View Post
@Julian: haven't tried it yet, but is it possible to show/hide dockers with your window function? Would love to independently show/hide the left and right docker.
I'll have to check -- I have never tried this before via scripts.
juliansader is online now   Reply With Quote