I am using finder to open a File with an application that is not scriptable.
When the app successfully opens the file, it sends a notification to the Mac’s Notification Centre with a message along the lines of ‘2 notes opened’.
Is there some way of subscribing to such notifications so that I can get the payload and use it in my script?