Ejemplo n.º 1
0
        public void Dispose()
        {
            m_services.QueueCommand(m_token, "QUIT");
            m_services.QueueCommand(m_token, "QUIT");
            m_services.QueueCommand(m_token, "QUIT");

            if (_dialogy)
            {
                m_services.QueueCommand(m_token, "DIALOGS MESSAGE ON");
            }
            if (_error)
            {
                m_services.QueueCommand(m_token, "DIALOGS ERROR ON");
            }
        }
Ejemplo n.º 2
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");
        }
 public static void Execute(string Command)
 {
     oPServices.QueueCommand(oToken, Command);
 }