Progress bar problem

Mark and Shane,

I couldn’t get the progress bar to work. The script worked when ran in Scriptdebugger and “Script Editor” but did nothing when run in the “Enhanced application” applet.

Here is the script I used:

use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions

set TotalItems to 10
set progress description to ""
set progress additional description to ""
set progress total steps to TotalItems
set progress completed steps to 0

repeat with NumberProccesed from 1 to 10
	-- Update the progress information
	set progress additional description to "Processing item " & NumberProccesed & " of " & TotalItems
	-- Update the progress bar
	set progress completed steps to NumberProccesed
	-- Create a delay so the actual progess movement can be seen
	delay 1
end repeat

I zipped the “Enhanced application” applet and script bundle in a archive called and included it in this post. Both “Progress” and “Progress bar.scptd” have the same script stored in them. I saved the “Progress” as a script bundle.

I’m not sure if I’m doing this wrong or if it doesn’t work.