Exemple #1
0
 public static void WordSave() //salvo
 {
     //if (verificarProcesso("WINWORD.EXE"))
     //{
     FocusWord();
     KeyBoard_Simulator.ctrl_B();
     Speaker.Speak("Salvando documento");
     //}
 }
Exemple #2
0
 public static void WordClose() //fechar
 {
     //if (verificarProcesso("WINWORD.EXE"))
     //{
     FocusWord();
     Speaker.Speak("Fechando o word");
     Thread.Sleep(300);
     KeyBoard_Simulator.ctrl_W();
     Speaker.Speak("Ta bom, irei clicar no X para você");
     //}
 }
Exemple #3
0
 public static void WordNew() //novo
 {
     //if (verificarProcesso("WINWORD.EXE"))
     //{
     FocusWord();
     KeyBoard_Simulator.ctrl_N();
     Speaker.Speak("Novo documento");
     //}
     //else
     //{
     Speaker.Speak("Word não está em execução");
     //}
 }
Exemple #4
0
 private static void Left() //alinhar a esquerda
 {
     KeyBoard_Simulator.ctrl_L();
 }
Exemple #5
0
 private static void Center() //centralizar
 {
     KeyBoard_Simulator.ctrl_E();
 }
Exemple #6
0
 private static void Underline() //sublinhado
 {
     KeyBoard_Simulator.ctrl_S();
 }
Exemple #7
0
 private static void Italic() //italico
 {
     KeyBoard_Simulator.ctrl_I();
 }
Exemple #8
0
 private static void Bolt() //negrito
 {
     KeyBoard_Simulator.ctrl_N();
 }
Exemple #9
0
 private static void SelectAll() //selecionar tudo
 {
     KeyBoard_Simulator.ctrl_T();
 }
Exemple #10
0
 private static void Paste() //colar/
 {
     KeyBoard_Simulator.ctrl_V();
 }
Exemple #11
0
 private static void Copy() //copia
 {
     KeyBoard_Simulator.ctrl_C();
 }
Exemple #12
0
        // - - - - Much parts (Grande parte) - - - -

        private static void Cut() //recortar
        {
            KeyBoard_Simulator.ctrl_X();
        }
Exemple #13
0
 public static void WordItalic()
 {
     FocusWord();
     //Italic();
     KeyBoard_Simulator.ctrl_I();
 }
Exemple #14
0
 private static void Redo() //refazer
 {
     KeyBoard_Simulator.ctrl_Y();
 }
Exemple #15
0
 private static void Undo() //desfazer
 {
     KeyBoard_Simulator.ctrl_Z();
 }
Exemple #16
0
 private static void Right() //alinhar a direita
 {
     KeyBoard_Simulator.ctrl_R();
 }