So I was wondering if there is a way to essentially register an observer or listener to listen for events and then run code. In particular, I'm thinking of asynchronous functions that run a long time... is there a way to essentially call a long running piece of code, and then get notified when its done and then continue on?
In particular, I'm thinking of interactions with AppleScript. Using SpplescriptObjC (which is possible using the "Do AppleScript" feature of Nisus), it is possible to post notifications to the NSNotification center, which another app can listen for and then act on. But as far as I can tell, there's no way to listen inside Nisus for events or triggers, as it were, to then continue running macro code, or to start a new macro. Even something like watching, say, a named clipboard for a change or a change in a Registry object would be nice. Something like KeyValue Observing?
I hope there's a feature that can do this somehow. But if there is, I've not seen it yet.
Get help using and writing Nisus Writer Pro macros.
1 post • Page 1 of 1