Created
October 26, 2014 09:25
-
-
Save cmittendorf/8f247f86346813ebc899 to your computer and use it in GitHub Desktop.
As a new feature of OS X Yosemite, you now can display a progress bar from your AppleScript.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set progress total steps to 100 | |
repeat with i from 1 to 100 | |
set progress description to "Item " & i & " of " & 100 | |
set progress additional description to "foobar" | |
delay 1 | |
set progress completed steps to i | |
end repeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment