I’m trying to implement a progress indicator in XCode/AppleScript. I have the following at the start of the script:
tell window "main" set uses threaded animation of progress indicator "progress" to true start progress indicator "progress" end tell
This makes the progress indicator start scrolling the “barber-pole” effect. Every time my app loops, it does this:
tell window "main" set content of progress indicator "progress" to percentage end tell
The variable “percentage” is set to the percentage of the work which has been completed (which is recalculated every loop). However, the progress bar never updates. It stays on zero percent, never fills up with blue, and just continues to show the scrolling barber-pole effect.
Hopefully somebody will be able to show me where I’m going wrong!