cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Script to quickly exit Editor

dthursfield
1-Newbie

Script to quickly exit Editor

Please read the whole thread carefully before trying to apply the script supported.

Recently one of my colleagues found a way to exit Editor in a very quick way. I made myself a little script out of it.

function exitEditor(){

var p = Application.getActiveDocument().getElementsByTagName("p").item(0);

var newnode = Application.getActiveDocument().createTextNode("50 ...Hz ±2");

p.appendChild(newnode);

}

where "p" in getElementsByTagName can be replaced with any tag where #PCDATA is allowed.

Please note that the script is meant to be a joke, worthy a try though.

Kind regards

1 REPLY 1

For further information see CS103713 at ptc.com´s technicalSupport. This crash seems to be solved in further releases.

Top Tags