2 Replies Latest reply on Apr 24, 2012 10:08 AM by Don McKee

    MacOSX: progressScope:setIndeterminate()

    n.wehrle

      I want to show a progressbar in a modal window that shows infinite progress (wanders from left to right to left to right ...).

      In Windows my minimal example works well, in MacOSX only the empty bar is shown. Does anybody know how to change the code to show progress on Mac?

       

      Plugin ready to test: files.me.com/nwehrle/4bnwe7

      Code:

      LrFunctionContext.postAsyncTaskWithContext("ProgressAsync", function (context)

          local progressScope = LrDialogs.showModalProgressDialog({

            title = "waiting",

            functionContext = context

          })

          progressScope:setIndeterminate()


          -- do long running task

          LrTasks.sleep(5)

          progressScope:done()

         

          -- show results of long running task

          LrTasks.sleep(1)

          LrDialogs.message("done")

      end)