Scripting

  • 1.  What is the syntax for Deactivating a script? I k

    Posted 10-07-2011 08:53
    What is the syntax for Deactivating a script? I know you can use oScript.DeactivateProcedure(""*"") to attempt to deactivate the current procedure, but I'm finding that does not seem to work. I'm trying a Write() function and the Pre-Write is kicking in a second time.


  • 2.  RE: What is the syntax for Deactivating a script? I k

    Posted 10-07-2011 09:19
    Are you sure that's the only Pre-Write event setup?


  • 3.  RE: What is the syntax for Deactivating a script? I k

    Posted 10-07-2011 09:40
    Yes because I used the DebugPrint to view some debug text in the trace window and see that it's executing that same script again.


  • 4.  RE: What is the syntax for Deactivating a script? I k

    Posted 10-07-2011 09:42
    Obviously your syntax is right. Do you get a retVal = 1 on the deactivate?


  • 5.  RE: What is the syntax for Deactivating a script? I k

    Posted 10-07-2011 10:00
    I tried DeactivateProcedure(""*ALL*"") and that works, but I don't want ALL procedures to be deactivated.


  • 6.  RE: What is the syntax for Deactivating a script? I k

    Posted 10-07-2011 11:25
    Same question.


  • 7.  RE: What is the syntax for Deactivating a script? I k

    Posted 10-20-2011 14:51
    Did you get this to work on the current procedure? Was there a trick?


  • 8.  RE: What is the syntax for Deactivating a script? I k

    Posted 10-21-2011 09:59
    I haven't circled back to it yet since we went another direction. Only so many hours in the day!