IDE scripting question

is it possible to get the “Path” and “Filename” of the project file currently opened?

I need to use this info to load variables.

Try ProjectShellPath.

that gives me:
D:\ae-dev\xojo\projectsframew~\test\source\test~2.xoj
instead of:
d:\ae-dev\xojo\projects\framework\testsource\test.xojo_project