Two alternatives (only you can decide if these are 'better' for your application):
Write things to a log file, and use the console to view this log file: set filePath to ((get path to temporary items) as text) & "test.log" set logFile to (open for access filePath with write permission) set eof logFile to 0 tell application "Console" open file filePath activate end tell repeat with x from 1 to 10 write "Line " & x & return to logFile delay 2 end repeat close access logFile
Or, 'say' the feedback you want to pass back to the user. This works best for simple, ephemeral messages:
set maxCount to 10000 say "Starting" repeat with x from 1 to maxCount if x / 1000 = (x / 1000) as integer then say "Item " & x end repeat say "Finished"
|