Skip to main content
Legend
February 13, 2018
Question

Workaround for window.update on macOS?

  • February 13, 2018
  • 1 reply
  • 657 views

I've been testing my new script application for JPEG export in Bridge. I'd like to have a progress indicator.

On Windows, I can use the window.update function to write a new value to a text field during the for loop where I actually export the files.

On macOS, I get a spinning rainbow (busy cursor) and the window isn't updated until the export is finished. Identical code.

An alert WILL interrupt the export loop on either platform and allow the window to update.

Any ideas? I'll post sample code later today.

This topic has been closed for replies.

1 reply

Kukurykus
Legend
February 14, 2018

Mark as solved the solution you got from me so other people using this forums can faster find the answer if they've got similar problem, or I didn't help you there? How to remove an event handler? Maybe you found other, better method?

Legend
February 14, 2018

Sorry, didn't realize I needed to mark it.