Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
danielrozental
Master II
Master II

Triggering actions from Extensions

Hi, does anyone know if it's possible to trigger actions from within Extensions? How about doing a dynamic update from Javascript, is that possible?

11 Replies
Brian_Munz
Employee
Employee

Sure.  If you have a variable name vTrig that you want to set to a value of "update" the code would look like:

var mydoc = Qv.GetCurrentDocument();

mydoc.SetVariable("vTrig", "update");

danielrozental
Master II
Master II
Author

Thanks