i am not able to get Path of the currently running apple script file.

Actually i am trying to get the path of the appliscript file currently running from anonther applicaiton. i am using

set MyPath to (path of document "MyFile")

But it only works when i run the file through script editor.
when i run this through any other applicaion. it doesn’t find any thing.

Thanks

Welcome. :slight_smile:

Try something like this:

set MyPath to path to me