First, if you're just trying to get a larger cursor when the cursor is pointing at your window/view/widget, you're going about this the wrong say. Read Introduction to Cursor Manager for the right way. Second, even if you think you actually want to set the system-wide cursor while you're program is running, think about it more carefully before you go forward. The cursor will stay large even if you
Try the code at this page. It defines a couple of functions, mousemove and mouseclick, which hook into Apple's integration between Python and the platform's Quartz libraries. This code works on 10.6, and I'm using it on 10.7. The nice thing about this code is that it generates mouse events, which some solutions don't. I use it to control BBC iPlayer by sending mouse events to known button position
GUIãªOSç°å¢ã§ã¯ããã¦ã¹ãæä½ãã¦ã«ã¼ã½ã«ã移åãããã¨ã§ãæä½å¯¾è±¡ãé¸æãã¦ãå½ä»¤ãå®è¡ãããé常ãã¦ã¹ã¯äººã®æã§æä½ããã®ã ãã©ãããã³ã¼ãã§èªç±ã«å¶å¾¡ã§ããã°ãé¢åãªä¸é£ã®ãã¦ã¹æä½ãèªååã§ããã®ã ã ä½ãã人ããã¦ã¹ãæä½ããæã¯ç»é¢ã®ç¶æ³ã確èªããªããæä½ã§ãããã©ããã¦ã¹ã«ã¼ã½ã«ãèªåå¶å¾¡ããæã«ã¯ãããã¯ãããªããä»æã®OSXã§ã¯ãã¦ã£ã³ãã¦ããã¾ããã¦ããããã¢ããªãé ãã¦ããããSpacesã§ã¹ãã¼ã¹ãããã¤ããã£ããã¨ãèæ ®ãã¦ãããã¨ãå¤ãã¦å¤§å¤ãªã®ã ã ä¸æ¹ããã¦ã¹ãæä½ãã¦å®è¡ããå½ä»¤ã«ã¯ã大æµã·ã§ã¼ãã«ãããç¨æããã¦ããããåçã®ã³ãã³ãããã£ãããããAppleScriptã§ãæä½å¯è½ãããããªããå¯è½ãªéããã¦ã¹ã«ã¼ã½ã«ã®èªåå¶å¾¡ä»¥å¤ã®æ¹æ³ã§æä½ããæ¹ããGUIã®ç¶æ³ã«å·¦å³ããããç´ æ©ãã確å®ã«ãå½ä»¤ãå®äºããã¯ãã§ããã ããã¯è¨ã£ã¦ãããã¦ã¹ä»¥å¤
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}