Robert,
Experiment with this- add this line to an empty script window in Script Editor and then save it as a compiled script. Open the Result window (cmd-L). Then click on Run.
The path alias will show up in the Result window. The variable someScriptPath will contain the current script location. Close it, move it, open and run again. Voila.
Code:
set someScriptPath to (path to me)
That's the quick how-to. Variables do not persist in Applescript, so each time the script is run, someScriptPath will be handed the current path to it. Will that do what you are needing to get done?
HTH
Craig