public static void WordSave() //salvo { //if (verificarProcesso("WINWORD.EXE")) //{ FocusWord(); KeyBoard_Simulator.ctrl_B(); Speaker.Speak("Salvando documento"); //} }
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ê"); //} }
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"); //} }
private static void Left() //alinhar a esquerda { KeyBoard_Simulator.ctrl_L(); }
private static void Center() //centralizar { KeyBoard_Simulator.ctrl_E(); }
private static void Underline() //sublinhado { KeyBoard_Simulator.ctrl_S(); }
private static void Italic() //italico { KeyBoard_Simulator.ctrl_I(); }
private static void Bolt() //negrito { KeyBoard_Simulator.ctrl_N(); }
private static void SelectAll() //selecionar tudo { KeyBoard_Simulator.ctrl_T(); }
private static void Paste() //colar/ { KeyBoard_Simulator.ctrl_V(); }
private static void Copy() //copia { KeyBoard_Simulator.ctrl_C(); }
// - - - - Much parts (Grande parte) - - - - private static void Cut() //recortar { KeyBoard_Simulator.ctrl_X(); }
public static void WordItalic() { FocusWord(); //Italic(); KeyBoard_Simulator.ctrl_I(); }
private static void Redo() //refazer { KeyBoard_Simulator.ctrl_Y(); }
private static void Undo() //desfazer { KeyBoard_Simulator.ctrl_Z(); }
private static void Right() //alinhar a direita { KeyBoard_Simulator.ctrl_R(); }