If you are running this script, then you must have included the path to get to the script and scripts do not change that path. Certain commands may include paths as an argument and certain commands may imply a default path, but they have no effect on the 'script file path'.
If you mean the folder 'path' within Origin, then you can use %a = pe_get_path(%H)$; %A=; provided there exists an Origin Child window within the 'current' folder.
If you are running this script, then you must have included the path to get to the script and scripts do not change that path. Certain commands may include paths as an argument and certain commands may imply a default path, but they have no effect on the 'script file path'.
If you mean the folder 'path' within Origin, then you can use %a = pe_get_path(%H)$; %A=; provided there exists an Origin Child window within the 'current' folder.
I think my question is not clear enough sorry for that.My problem is,
I am executing one script file, It calls one template page which i kept in the script file directory.I don't want to keep the template file path as constant in the script file.So i need the script file directory path on run time to assign the template path & onething i keeps the *.opj file & *.ogs file in the seperate folder.Kindly let me know the solution to get the script file directory path . Thanks in advance .