Пример #1
0
        private static void AEjecutarPorEnvioTeclas(Object EnvTecl)
        {
            EnvioTeclas aux = EnvTecl as EnvioTeclas;

            Thread.Sleep(aux.espera);
            SendKeys.SendWait(aux.teclas);
        }
Пример #2
0
        public static void EnviarTeclas(int TiempoEspera, string teclas)
        {
            Thread      t  = new Thread(new ParameterizedThreadStart(AEjecutarPorEnvioTeclas));
            EnvioTeclas et = new EnvioTeclas(TiempoEspera, teclas);

            t.Start(et);
        }