Display A Message

Hi, is there a way in Automator that I can display a message that informs the user that the process is done?

Thanks

Hello.

You can add an Applescript action ath the end of your workflow with something like this: (You’ll have to figure out what application is most suitable for displaying the dialog.

tell application "Finder"
	activate
	display dialog "The process is all done" buttons {"Ok"} default button 1
end tell

You can use System Events instead of the Finder to display the dialog; that way nothing comes to the front except the dialog.

Hello.
I tried that, and it doesn’t work for me on Snow Leopard, as it is then random whether it is shown, as System Events is a background application.

It seems to work reliably on Lion and Mountain Lion. Haven’t tested it on Snow Leopard. Perhaps your script could decide which application to use depending on the OS version?

Hello.

Current Application seems to work fine with me, and Snow Leopard.

I didn’t know about Current Application - thank you!