Test if script running as standalone app

I tried searching but couldn’t find if there was/is a way to test if the current running script is running in a standalone app?

Any help would be appreciated

Hi Robert.

If this what you mean?

if ((path to me) = (path to current application)) then
	say "yes"
else
	say "no"
end if

Thanks.

I knew it had to be simple.