I've two plugins that runs a batch process of creating a document --> apply some art --> close document -->. then repeat for 10-50 time, when I run plugin on windows it works fine but on mac after completing process everything gets exported fine but at last cursor beach-ball keeps on visible for some minutes. I guess something is executing under the hood . please help if something is possible.
Thanks & regards
I moan about it over here :Batch woes
and came up with a workaround: basically avoid closing documents and if multiple documents result from the batch output, find a way to enable use of the 'quit' command which auto-closes all documents and unless stopped by user (in condition of having one changed document before the batch process opens all of the many docs), the app is also quit.
Not sure if inserting $.sleep(); would also help in this case, as an alternative: I've seen it mentioned as a working solution here.