Sunday, February 23, 2020

#1 2020-02-01 09:25:12 am

maro
Member
From:: Nerima, Tokyo, Japan
Registered: 2004-05-30
Posts: 61
Website

Clear NSImage's specified rect

Hi, I want to clear specified rect of NSImage.

I make a small program to draw mouse cursor, there is need to erase mouse cursor on NSImage.

https://www.youtube.com/watch?v=WcwToHIKukQ

Drawing mouse cursor is easy.

But it is hard to erase mouse cursor from NSImage.

How do I do it ?

3A1A1DF3-D04F-4349-B17B-AA31DD7E5CD5.png

Model: MacBook Pro 2012
AppleScript: 2.7
Browser: Safari 13.0.1
Operating System: macOS 10.14


I wrote thousands of AppleScript to realize my idea. Natural language interface, voice recognition commander and so on. Though my mother toungue is strange language, Japanese, my most frequently write language is AppleScript. I believe it is for making things easy and powerful.


Filed under: NSImage, NSImageView

Offline

 

#2 2020-02-03 05:29:07 am

maro
Member
From:: Nerima, Tokyo, Japan
Registered: 2004-05-30
Posts: 61
Website

Re: Clear NSImage's specified rect


I wrote thousands of AppleScript to realize my idea. Natural language interface, voice recognition commander and so on. Though my mother toungue is strange language, Japanese, my most frequently write language is AppleScript. I believe it is for making things easy and powerful.

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)