public static bool Start(Keys key) { for (int i = 0; i < m_List.Count; i++) { Macro macro = (Macro)m_List[i]; if (macro.CheckKey(key)) { if (macro.Running) { macro.Stop(); } macro.Start(); return(true); } } return(false); }