Okay, so I have an AppleScript that is really just a wrapper for a simple shell script, so I could turn it into a double-click to run application, droplet and URI handler on OS X.
Anyway, this works fine but the only problem is that the shell script can take a while to run. So I'm wondering, what options do I have for displaying some kind of progress indicator?
I'm not looking for anything too complex, ideally something I can do simply via AppleScript commands. For example, is there a way I can trigger a shell command to run in the background at the start of my script, then use a loop to query whether the command is finished or not, and somehow provide feedback to the user?