Simulating mouse clicks on Mac OS X does not work for some applications

前端 未结 4 1239
走了就别回头了
走了就别回头了 2020-12-03 02:13

I\'m writing an application for Mac OS X 10.6 and later in C++. One part of the application needs to simulate mouse movement and mouse clicks. I do this currently by posting

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-03 02:55

    Most menus are activated with the mouseDown event. Hyperlinks are followed after the mouseUp event. The "i" button only works when the mouse has been clicked but not a long time. All this seem to show that you have a timing problem, try several pressed timing.

提交回复
热议问题