How to get MacOS Cocoa window events?


(Volker) #1

Hi, I’m new to golang and try to write a tool for MacOS that is responsible for some file type (extension). The Info.plist is fine and assigned correctly but MacOS does not provide filenames as a comandline parameter. Instead, it sends some Window notifications(?). I’m able to get some window handle (Sciter window) but here I’m stuck.

Any idea about how to get those notifications so I can get the file name?