Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hide mouse pointer
#1
I have a function that depending on other stuff happening has to click a certain point in a window:

BlockInput(1)
lef(753 491 this.hwnd 4)
BlockInput(0)

This happens while the user does stuff, hence flag 4 to make the mouse pointer return and BlockInput to avoid unintended input. I'd also like to hide the mouse pointer while it does the clicking. So the flickering of the mouse becomes less distracting to the user.
Didn't find anything in the documentation or searching the forum.

So, is it possible to hide the mouse pointer while the macro/function clicks?
#2
Macro HideCursor help
Code:
Copy      Help
;Temporarily hides the cursor (mouse pointer).
;Hides only system cursors: arrow, I-beam, wait, cross, up, window resizing cursors, no, hand, appstarting, help.
;Does not hide custom cursors.

;EXAMPLES

#compile "__HideCursor"
HideCursor x.Hide
MES m.timeout=15
mes "Now system cursors should be hidden. Close this box to restore." "" m


Attached Files
.qml   HideCursor.qml (Size: 5 KB / Downloads: 369)


Forum Jump:


Users browsing this thread: 1 Guest(s)