How to get MacOS Cocoa window events?

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?

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.