[code]tell AppA to shut Down
Tell AppB to shut down
tell AppC .
repeat
delay 1
check if the apps are not running,
if they aren’t the exit repeat
end repeat
tell Application id “sevs” to shut down # System events[/code]
Something ilke this to make sure that your stuff is shut down properly, before you quit.
The System Events shut down, doesn’t wait for anything, that long.