Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Workaround for window.update on macOS?

LEGEND ,
Feb 13, 2018 Feb 13, 2018

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.

TOPICS
Scripting
585
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 13, 2018 Feb 13, 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 14, 2018 Feb 14, 2018
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines