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