Get the name of the script you are running

Is there a way to get the name of the script that is being ran? What I want to do is be able to rename the script in the finder, run it and it will use the name of the script in the script.( example: name of the script is “Hello World” and I have the script display a dialog which says the name of the script)

If the script is saved as an application and then launched, this should do what you want. Note: It will not work correctly when tested in Script Editor.

display dialog (name of (info for (path to me)))

– Rob

Worked like a charm - thanks a lot.