Example #1
0
        public PMInteraction(string m_token, PowerMILL.PluginServices m_services)
        {
            this.m_token    = m_token;
            this.m_services = m_services;



            m_services.QueueCommand(m_token, @"ECHO OFF DCPDEBUG UNTRACE COMMAND ACCEPT");

            _dialogy = m_services.RequestInformation("MessagesDisplayed") == "true";
            _error   = m_services.RequestInformation("ErrorsDisplayed") == "true";

            m_services.QueueCommand(m_token, "DIALOGS MESSAGE OFF");
            m_services.QueueCommand(m_token, "DIALOGS ERROR OFF");
        }