Have your dock icon notify the user that something needs their attention.
Usage: RequestUserAttention isCritical
where isCritical is a boolean; FALSE bounce the dock icon once, TRUE bounce the dock icon until the application is brought to the foreground
Code: Select all
on mouseUp pMouseButton
send "moo" to me in 2 seconds
end mouseUp
command moo
RequestUserAttention FALSE
end moo