Run macro via Weblink
Hi All,
I would like to run specific mapkeys via Weblink in Creo 9, but unfortunately nothing seems to work.
Here is an example from my code:
function WlModelRunMacro ()
{
var MacroString= "~ Command `ProCmdModelNew`";
mGlob = pfcCreate("MpfcCOMGlobal");
var oSession = mGlob.GetProESession();
oSession.RunMacro(MacroString);
}
I have enabled web_enable_javascript option in my config file.
If you could run macros in Creo through weblink, could you please help me with a right syntax?
Thank you for your help,
Richard Lukacs
