Hi,
you maybe know the PB_Gadget_SetOpenFinderFiles() function used to get MacOS Cocoa events for files to be opened by your application.
Is there someone who can tell me what is behind? What Cocoa methods to call to get such result by myself?
I'm also interested in the Cocoa details about how to get notified if a user clicks on the Dock icon of my program.
What is behind PB_Gadget_SetOpenFinderFiles()?
Re: What is behind PB_Gadget_SetOpenFinderFiles()?
If I remember correctly, what's behind it is the application:openFiles: method of NSApplicationDelegate .Kukulkan wrote:you maybe know the PB_Gadget_SetOpenFinderFiles() function used to get MacOS Cocoa events for files to be opened by your application.
Is there someone who can tell me what is behind? What Cocoa methods to call to get such result by myself?
Unfortunately you can't get the result yourself because by the time you can set a delegate using CocoaMessage, the method already has been called.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)