Aims:
Another possibility is to display a message in a dialog window. This can be done with the command
showMessage("<your message>");
Use the showMessage command instead of the print command to display the “Hello World!” message and run the macro (ctrl+r).
Your code starts after this line.
Your code ends before this line