Can AS return it's own file name?

Hello,

I’m trying to get AppleScript to return the name of it’s own file that it is running from?

Does anyone know if this is possible?

Thanks.

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

You Rock!
:cool:

Thank you!