Hi,
A slight improvement to Hideo's response.
There is actually a string register that points to the root folder where Apps are installed (it is %@A ). So his code sample might better be:
//////////////////////////////////////////
window -t plot "%@A\MyAppFolder\myTemplate"; //Open graph template as window. Do not add .OTP extension.
template_saveas pg:=[%H] category:="UserDefined" template:="myTemplate" filepath:="%Y" emf:=1;
//////////////////////////////////////////
Thanks,
Chris Drozdowski
Originlab Technical Support